Both sides previous revision
Poprzednia wersja
Nowa wersja
|
Poprzednia wersja
|
pl:dydaktyka:dss:lab02 [2020/10/18 19:15] kkluza [Excercise] |
pl:dydaktyka:dss:lab02 [2020/10/18 19:42] (aktualna) kkluza [Excercise] |
| |
The codes in this lab instruction are based on the codes from the book \\ | The codes in this lab instruction are based on the codes from the book \\ |
[[https://www.springer.com/gp/book/9783319564272|A Primer on Process Mining. Practical Skills with Python and Graphviz]]. \\The codes are not optimized and they are supposed to show a step by step process mining solution. | [[https://www.springer.com/gp/book/9783319564272|A Primer on Process Mining. Practical Skills with Python and Graphviz]]. \\ The codes are not optimized and they are supposed to show a step by step process mining solution. |
===== Implementing a simple heuristic miner ===== | ===== Implementing a simple heuristic miner ===== |
| |
<code python> | <code python> |
text = event + ' (' + str(ev_counter[event]) + ")" | text = event + ' (' + str(ev_counter[event]) + ")" |
G.add_node(event, label=text, style="rounded,filled", fillcolor="#ffffcc") | G.add_node(event, label=text, style="rounded,filled", fillcolor="#ffffcc") # code for Pygraphviz |
</code> | </code> |
| |
We can also change the transparency of the discovered tasks based on their frequencies: | We can also change the transparency of the discovered tasks based on their frequencies (code for Pygraphviz, so for graphviz, it should be adjusted): |
| |
<code python> | <code python> |
- 8-o Only for interested students: Try to implement and discover relations according to the Alpha algorithm. | - 8-o Only for interested students: Try to implement and discover relations according to the Alpha algorithm. |
| |
<fc #ff0000>There is no report required after this lab.</fc> However, it is possible to submit an additional report for 5 points (a very good score) presenting the implementation of points 1-3. | <fc #ff0000>There is no report required after this lab.</fc> However, it is possible to submit an additional report for 5 points (for a very good score) presenting the implementation of at least two of the above exercises. |