R Tutorial : Introduction to Process Analytics

Gertrude Swille introduces process analytics, a field that mines event data from business processes and IoT sources to improve efficiency. Event data has three core parts: the case, the activity, and the resource. Analysis happens in three stages—extraction, preprocessing, and analysis—then splits into three perspectives: organizational, control-flow, and performance.
Chapters
Hello and welcome to the first lesson of this course on process analytics. My name is Gertrude Swille and I will be your instructor. Efficient processes are one of the main components of successful organizations in the 21st century. As enormous amounts of process related data are stored everywhere, the possibility to analyze and improve processes gave rise to the field called process mining, aimed at discovering useful insights from process data. While it all started with conventional business processes like ordering or producing goods, event data nowadays comes in many different types and flavors. With the emergence of the Internet of things, a lot of things around us are recording data about events that happen over time. As a result, the types of event data that you can analyze is literally infinite. In this course, you will learn about the different components of event data and how to create, pre process and analyze them. Event data consists of three basic the why, the what and the who. Events happen because of a certain object. A process instance. When a patient enters an emergency department, it becomes an instance of the emergency process. When a train leaves the terminal in the morning, it's an instance of the railway operating processes. The process instance, also called the cases, is why events happen because because a patient needs to be treated or because a train needs to bring passengers from point A to B. When an event is recorded, something has happened. What has happened is what we call the activities. Activities are the steps of a process, an X ray scan or a treatment with a certain medicine, or both activities in a hospital context. Securing a railway track for an approaching train can be an activity in a railway environment. Finally, the who component of event data shows us who is responsible for a certain a doctor or a nurse, or a train driver or single house operator. It don't always have to be real persons. Also, machines or information systems can execute events. We will refer to them collectively as resources. An event is thus a recorded action of an activity. The what occurring for an instance, the why by a specific resource. The who. Analyzing event data is an iterative process of three extraction, processing and analysis. First is data extraction, extracting the raw data from one or more information systems and transforming them to event logs. Second is pre processing the data. Here, we aggregate the data. By removing too detailed information, we subset the data, allowing us to focus on specific parts of the process. But we can also enrich the data by adding calculated variables. Eventually, in the third stage, we will analyze the data. Three perspectives can be distinguished. Firstly, the organizational perspective focuses on the actors of the process. For instance, which are the roles of different doctors and nurses in our emergency department and how do they work together? Secondly, the control flow perspective focuses on the flow and structuredness of the process. What is the journey of a patient through the emergency rooms? And finally, the performance perspective focuses on time and efficiency. How long does it take before a patient can leave the emergency department? Or in which area? Or at what time of day are trains most delayed? Furthermore, we can also combine different perspectives. For example, investigate whether there are links between actors and performance issues, and additional data attributes which are available, such as the cost of activities or types of customers, can also be included. Let's have a look at some examples.
More from Richie

#359 My Best Friend is AI with Valerie Tiberius, Professor of Philosophy at University of Minnesota

How AI Agents Will Work While You Sleep | Ruslan Salakhutdinov, Professor at Carnegie Mellon

#358 How AI Agents Will Work While You Sleep | Ruslan Salakhutdinov, Professor at Carnegie Mellon







