Nowa wersja
|
Poprzednia wersja
|
pl:dydaktyka:dss:lab01 [2018/10/10 11:02] kkluza utworzono |
pl:dydaktyka:dss:lab01 [2021/10/19 18:17] (aktualna) kkluza [Exercises] |
===== Disco ===== | ===== Disco ===== |
| |
In Windows, start the Disco application, and load the sample log: | On Windows or MacOS, you can use the [[https://fluxicon.com/disco/|Disco]] application, and load the sample log: |
{{:pl:dydaktyka:bim:purchasingexample.txt|purchasingexample.csv}} | {{:pl:dydaktyka:bim:purchasingexample.txt|purchasingexample.csv}}. |
| Please remember to use your academic e-mail address, to get the Academic License for Disco. |
| |
Please save the file with the CSV extension. | Please save the file with the CSV extension. |
Open the exported and saved ''PurchasingExample'' event log in the event log format and take a look at how the log is represented. | Open the exported and saved ''PurchasingExample'' event log in the event log format and take a look at how the log is represented. |
| |
For the DSS classes, any version of the ProM can be used. | For these classes, any version of the ProM can be used. |
However, a simple end-user ProM Lite version is enough. | However, a simple end-user ProM Lite version is enough. |
If you use your own laptop, you can install the simplest [[http://www.promtools.org/doku.php?id=promlite12|ProM Lite version]]. | If you use your own laptop, you can install the simplest [[http://www.promtools.org/doku.php?id=promlite12|ProM Lite version]]. |
On the computers in the lab, there should be ProM Lite version available. | On the computers in the lab, there should be ProM Lite version available. |
| |
{{:pl:dydaktyka:bim:lab4_2014:logwprom.png?600|}} | Import the log. {{:pl:dydaktyka:dss:lab:import.png?70|}}\\ |
| Next take a look at the log by selecting the log in the list and clicking on the eye icon. {{:pl:dydaktyka:dss:lab:view.png?70|}} |
| |
{{ :pl:dydaktyka:bim:lab4_2014:wybor-algorytmu-prom.png?200|}} | Using Log Dashboard, Inspector or Summary, answer the following questions: |
| * How many cases, events and event classes the log contains? |
| * How long is the longest trace and how short is the shortest trace in the log? |
| * What is the meaning of colors in the explorer in the log inspector? |
| * Which event and which resource occurs most often? |
| |
Then click "start analyzing this log" (or in other versions: play arrow), and then select one of the algorithms (double-click). \\ | {{:pl:dydaktyka:bim:lab4_2014:logwprom.png?475|}} |
| {{:pl:dydaktyka:dss:lab:prom6.png?400|}} |
| |
Check the results using various algorithms: | Depending on the ProM version click: |
* Heuristic Miner | * "start analyzing this log" in ProM 5, |
* Genetic Algorithm Plugin | * Use resource ("play" button) in ProM 6. |
* Alpha algorithm plugin | to apply some action to the log. |
| Select one of the algorithms (double-click). |
| |
| Depending on the version of ProM, check the results of applying various miners, such as (note that not every miner can be available in your version of ProM): |
| * Alpha Miner (Alpha Algorithm Plugin / Alpha Miner) |
| * Inductive miner, |
| * Fuzzy miner, |
| * Heuristic Miner, |
| * Genetic Miner. |
| |
| Most of these miners generate some kind of process model, which can be represented in various formats, e.g.: |
| * heuristic net (very simple process map), |
| * workflow net or Petri Net, |
| * BPMN model. |
| |
For some algorithms, setting some additional options are required. E.g., in the alpha algorithm, we need to determine which events in the event log start and end the task: | For some algorithms, setting some additional options are required. E.g., in the alpha algorithm, we need to determine which events in the event log start and end the task: |
| |
| {{ :pl:dydaktyka:bim:lab4_2014:wybor-algorytmu-prom.png?200|}} |
| |
{{:pl:dydaktyka:bim:lab4_2014:alpha-konfig.png|}} | {{:pl:dydaktyka:bim:lab4_2014:alpha-konfig.png|}} |
| |
On the obtained Petri net, try to use conversion tools: | On the obtained models, it is possible to use conversion tools, e.g. for Petri net, one can use (depending on the ProM version): |
* Petri net reduction | * Petri net reduction, |
* Labeled WF-net to EPC | * Labeled WF-net to EPC, |
| * Petri net to BPMN converter. |
| |
Using some plugins you can also directly generate BPMN models. | Using some plugins you can also directly generate BPMN models. |
| |
| BPMN is an OMG standard for process modeling. \\ |
| During this class, we will discuss the basic workflow representation in BPMN language.\\ |
| Below a simple BPMN process shows the basic elements of the BPMN notation: |
| |
| {{:pl:dydaktyka:dss:lab:bpmn-model-elements.png?700|}} |
| |
| First, Task 1 is performed. Then, either Task 2a or Task 2b is performed. |
| Next, Subprocess is performed. After the subprocess, Task 3a and 3b are performed in parallel (this does not mean that they have to be performed at the same time). |
| |
| To obtain a BPMN model, you can use converters to BPMN from most mined models. \\ |
| In some versions of ProM, a BPMN miner which directly discovers a BPMN model is available. |
| |
| Moreover, a business process can also specify who (which department, role, user, participant) should perform a particular taks (see the example below): |
| |
| {{:pl:dydaktyka:dss:lab:bpmn-model-elements-with-roles.png?700|}} |
| |
===== Exercises ===== | ===== Exercises ===== |
| |
Working in groups, please analyze (using any tool) the following event log documenting the phone repair process at the company: \\ | Working in groups, please analyze (using any process mining tools) the following event log documenting the phone repair process at the company: \\ |
[[http://www.processmining.org/_media/tutorial/repairexample.zip]]. | [[http://www.processmining.org/_media/tutorial/repairexample.zip]] (local copy: {{:pl:dydaktyka:dss:repairexample.xml|repairexample.xes}}) |
| |
The group report should include: | The group report should include: |
| |
Max. length of the report is 4 pages A4:!: (including relevant screenshots documented the lessons learned) | Max. length of the report is 4 pages A4:!: (including relevant screenshots documented the lessons learned) |
===== Materiały dodatkowe ===== | |
| Remember to include the names of the group members in the report. |
| |
| Deadline: **18.10.2021** |
| ===== Additional materials ===== |
| |
* [[http://fluxicon.com/disco/files/Disco-Tour.pdf|Disco tour]] | * [[http://fluxicon.com/disco/files/Disco-Tour.pdf|Disco tour]] |
* [[http://fluxicon.com/academic/material/files/ProcessMiningTutorial.pdf|Disco process mining tutorial]] | * [[http://fluxicon.com/academic/material/files/ProcessMiningTutorial.pdf|Disco process mining tutorial]] |
* [[http://tmpmining.win.tue.nl/_media/tutorial/promtutorialv2.pdf|ProM tutorial]] | * [[http://tmpmining.win.tue.nl/_media/tutorial/promtutorialv2.pdf|ProM tutorial]] |