Closed hadisotudeh closed 5 years ago
Hi,
When you apply the Inductive Miner, you should provide a parameter specifying in which attribute the activity is written.
You could provide that (see http://pm4py.pads.rwth-aachen.de/documentation/process-discovery/classifiers/ ) using the following code (replace concept:name with the attribute containing the activity):
from pm4py.util import constants parameters = {constants.PARAMETER_CONSTANT_ACTIVITY_KEY: "concept:name"} net, initial_marking, final_marking = inductive_miner.apply(log, parameters=parameters)
Great. It worked.
Hi,
I get the following error when I import a CSV file. KeyError: 'concept:name'
My code:
It seems I should change the activity column to 'name'. Is there a way to not do so?