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!

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
  • DStekelDStekel Posts: 15
    Thank you Sander!
Sign In or Register to comment.