To prevent spam users, you can only post on this forum after registration, which is by invitation. If you want to post on the forum, please send me a mail (h DOT m DOT w DOT verbeek AT tue DOT nl) and I'll send you an invitation in return for an account.
Command line approach for Inductive Miner
Hello everyone,
Does anyone know how I can call the Inductive Miner through a command line? The project includes a command line .launch file seems to be outdated (InductiveMinerCommandLine.java does not exist anymore??).
What I'm looking for is a script like the following:
org.processmining.plugins.InductiveMiner.plugins.IMProcessTree myTree = mine_process_tree_with_inductive_miner(myLog);
#save resulting tree to a file
Any tips for me would be helpful!
Does anyone know how I can call the Inductive Miner through a command line? The project includes a command line .launch file seems to be outdated (InductiveMinerCommandLine.java does not exist anymore??).
What I'm looking for is a script like the following:
org.processmining.plugins.InductiveMiner.plugins.IMProcessTree myTree = mine_process_tree_with_inductive_miner(myLog);
#save resulting tree to a file
Any tips for me would be helpful!
Comments
-
Hi DStekel,
In a Java program, simply call:
parameters = new MiningParametersIMf();
tree = org.processmining.plugins.InductiveMiner.plugins.IMProcessTree.mineProcessTree(log, parameters);
For exporting, you can use either:
new PtmlExportTree().exportDefault(context, tree, file);
For this one, if you are running it outside of ProM, simply make a dummy context and test. Another option is to use an EfficientTree:
eTree = new EfficientTree(tree);
EfficientTreeExportPlugin.export(eTree, file);
Sander
Sander Leemans
Assistant Processor (Lecturer) at Queensland University of Technology
Author of the visual Miner and Inductive Miner -
Thank you Sander!
Howdy, Stranger!
Categories
- 1.6K All Categories
- 45 Announcements / News
- 225 Process Mining
- 6 - BPI Challenge 2020
- 9 - BPI Challenge 2019
- 24 - BPI Challenge 2018
- 27 - BPI Challenge 2017
- 8 - BPI Challenge 2016
- 68 Research
- 1K ProM 6
- 393 - Usage
- 287 - Development
- 9 RapidProM
- 1 - Usage
- 7 - Development
- 54 ProM5
- 19 - Usage
- 187 Event Logs
- 32 - ProMimport
- 75 - XESame