linpershey/process_mining
0
1import os2 3#os.system("python -m pm4py.cli DiscoverPetriNetAlpha tests\\input_data prova2")4#os.system("python -m pm4py.cli DiscoverPetriNetInductive tests\\input_data prova2")5#os.system("python -m pm4py.cli DiscoverPetriNetHeuristics tests\\input_data prova2")6#os.system("python -m pm4py.cli DiscoverBPMNInductive tests\\input_data prova2")7#os.system("python -m pm4py.cli DiscoverProcessTreeInductive tests\\input_data prova2")8#os.system("python -m pm4py.cli ConformanceDiagnosticsTBR tests\\input_data\\running-example.xes tests\\input_data\\running-example.pnml result_diagnostics_tbr.txt")9#os.system("python -m pm4py.cli ConformanceDiagnosticsAlignments tests\\input_data\\running-example.xes tests\\input_data\\running-example.pnml result_diagnostics_alignments.txt")10#os.system("python -m pm4py.cli FitnessTBR tests\\input_data\\running-example.xes tests\\input_data\\running-example.pnml result_fitness_tbr.txt")11#os.system("python -m pm4py.cli FitnessAlignments tests\\input_data\\running-example.xes tests\\input_data\\running-example.pnml result_fitness_alignments.txt")12#os.system("python -m pm4py.cli PrecisionTBR tests\\input_data\\running-example.xes tests\\input_data\\running-example.pnml result_precision_tbr.txt")13#os.system("python -m pm4py.cli PrecisionAlignments tests\\input_data\\running-example.xes tests\\input_data\\running-example.pnml result_precision_alignments.txt")14#os.system("python -m pm4py.cli ConvertToXES tests\\input_data\\running-example.csv result_ru.xes")15#os.system("python -m pm4py.cli ConvertToCSV tests\\input_data\\running-example.xes result_ru.csv")16#os.system("python -m pm4py.cli ConvertPNMLtoBPMN tests\\input_data\\running-example.pnml result_bpmn1.bpmn")17#os.system("python -m pm4py.cli ConvertPNMLtoPTML tests\\input_data\\running-example.pnml result_ptml1.ptml")18#os.system("python -m pm4py.cli ConvertPTMLtoPNML tests\\input_data\\running-example.ptml result_pnml1.pnml")19#os.system("python -m pm4py.cli ConvertPTMLtoBPMN tests\\input_data\\running-example.ptml result_bpmn2.bpmn")20#os.system("python -m pm4py.cli ConvertBPMNtoPNML tests\\input_data\\running-example.bpmn result_pnml3.pnml")21#os.system("python -m pm4py.cli ConvertDFGtoPNML tests\\input_data\\running-example.dfg result_pnml4.pnml")22#os.system("python -m pm4py.cli DiscoverDFG tests\\input_data\\running-example.xes result_dfgdisc.dfg")23#os.system("python -m pm4py.cli ConvertDFGtoPNML result_dfgdisc.dfg result_dfgdisc_conv.pnml")24#os.system("python -m pm4py.cli SaveVisDFG result_dfgdisc.dfg visual_dfg.png")25#os.system("python -m pm4py.cli SaveVisPNML result_pnml1.pnml visual_petri.png")26#os.system("python -m pm4py.cli SaveVisBPMN result_bpmn1.bpmn visual_bpmn.png")27#os.system("python -m pm4py.cli SaveVisPTML result_ptml1.ptml visual_process_tree.png")28#os.system("python -m pm4py.cli SaveVisDottedChart tests\\input_data\\running-example.xes time:timestamp case:concept:name concept:name vis_dotted.png")29#os.system("python -m pm4py.cli SaveVisTransitionSystem tests\\input_data\\running-example.xes vis_trans_system.png")30#os.system("python -m pm4py.cli SaveVisTrie tests\\input_data\\running-example.xes vis_trie.png")31#os.system("python -m pm4py.cli SaveVisEventsDistribution tests\\input_data\\running-example.xes days_week vis_ev_distr.png")32#os.system("python -m pm4py.cli SaveVisEventsPerTime tests\\input_data\\running-example.xes vis_ev_time.png")33#os.system("python -m pm4py.cli GenerateProcessTree 10 result_ptandloggenerator.ptml")34#os.system("python -m pm4py.cli PNMLplayout tests\\input_data\\running-example.pnml result_playout1.xes")35#os.system("python -m pm4py.cli PTMLplayout tests\\input_data\\running-example.ptml result_playout2.xes")36#os.system("python -m pm4py.cli DFGplayout tests\\input_data\\running-example.dfg result_playout3.xes")37os.system("python -m pm4py.cli SaveVisSNA tests\\input_data\\running-example.xes handover result_handover.png")38os.system("python -m pm4py.cli SaveVisSNA tests\\input_data\\running-example.xes working_together result_working_together.png")39os.system("python -m pm4py.cli SaveVisSNA tests\\input_data\\running-example.xes similar_activities result_similar_activities.png")40os.system("python -m pm4py.cli SaveVisSNA tests\\input_data\\running-example.xes subcontracting result_subcontracting.png")41os.system("python -m pm4py.cli SaveVisCaseDuration tests\\input_data\\running-example.xes result_case_duration.png")42os.system("python -m pm4py.cli FilterVariantsTopK tests\\input_data\\running-example.xes 1 result_filtering_top_k.xes")43os.system("python -m pm4py.cli FilterVariantsCoverage tests\\input_data\\running-example.xes 0.1 result_filtering_var_cov.xes")44os.system("python -m pm4py.cli FilterCasePerformance tests\\input_data\\running-example.xes 3600 86400 result_filtering_case_perf.xes")45os.system("python -m pm4py.cli FilterTimeRange tests\\input_data\\receipt.xes 2011-01-01 2011-01-31 result_filtering_time_range.xes")46 