pm4py / pm4py-core

Public repository for the PM4Py (Process Mining for Python) project.
https://pm4py.fit.fraunhofer.de
GNU General Public License v3.0
722 stars 286 forks source link

Inductive Miner generates flower #17

Closed FrankBGao closed 5 years ago

FrankBGao commented 5 years ago

I use inductive Miner on the log which has loop. But, it generated a flower in model. pm4py And Prom's result is not, (directly follows graph->Process Tree->Petri Net) prom Here is the log log.zip

Javert899 commented 5 years ago

Set-up issue. If you look inside pm4py\algo\discovery\inductive\util\shared_constants.py you find several constants for the loop detection.

If you change LOOP_CONST_1 from 0.2 to 0.09, you get the following process schema that is perfectly fit according to the log:

setup1

Alternatively, if you keep LOOP_CONST_1 as 0.2, and you change LOOP_CONST_4 from -0.7 to -0.15, you get the process schema you expected:

setup2

That is also perfectly fit according to the log.