Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/christs8920/process-mining-py
A process mining project that analyzes an event log and discovers its process model.
https://github.com/christs8920/process-mining-py
data-science data-visualization datavisualization pm4py process-mining processmining python
Last synced: 7 days ago
JSON representation
A process mining project that analyzes an event log and discovers its process model.
- Host: GitHub
- URL: https://github.com/christs8920/process-mining-py
- Owner: ChrisTs8920
- License: mit
- Created: 2023-07-25T11:30:55.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-08-03T10:14:42.000Z (4 months ago)
- Last Synced: 2024-08-03T11:29:39.371Z (4 months ago)
- Topics: data-science, data-visualization, datavisualization, pm4py, process-mining, processmining, python
- Language: Python
- Homepage:
- Size: 1.1 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Process mining - Python and pm4py
## Description
This process mining project discovers the process model of an event log using the process mining algorithms **Alpha Miner**, **Heuristics Miner** and **Inductive Miner**.
After discovering the process models, it performs evaluation, finding it's fitness, precision, generalization and simplicity values.
Lastly it performs conformance checking using the Replay Fitness method. Conformance checking compares the discovered model with the actual event log to identify possible deviations and potential bottlenecks.
The event log contains activities of a smart home.>*This project was made during my Intelligent Systems course in University.*
## How to run
1. The event log file needs to be in the same directory as the python script file.
2. Execute ```py .py```.## Results
Alpha Miner Process model
![Alpha Miner](https://github.com/ChrisTs8920/process-mining-py/blob/main/output/alpha.png?raw=true)
Heuristics Miner Process model
![Heuristics Miner](https://github.com/ChrisTs8920/process-mining-py/blob/main/output/heuristics.png?raw=true)
Inductive Miner Process model
![Inductive Miner](https://github.com/ChrisTs8920/process-mining-py/blob/main/output/inductive.png?raw=true)
### Evaluations
| |fitness | precision | generaliztion | simplicity |
|-|--------|-----------|---------------|------------|
| Alpha miner unfiltered log | 0.38 | 0.02 | 0.89 | 1.0 |
| Alpha miner filtered log | 0.66 | 0.02 | 0.89 | 1.0 |
| Heuristic miner unfiltered log | 0.95 | 0.31 | 0.69 | 0.51 |
| Heuristic miner filtered log | 0.94 | 0.31 | 0.71 | 0.52 |
| Inductive miner unfiltered log | 0.98 | 0.15 | 0.87 | 0.64 |
| Inductive miner filtered log | 0.98 | 0.15 | 0.88 | 0.64 |