pm4py.algo.evaluation package¶
Subpackages¶
- pm4py.algo.evaluation.earth_mover_distance package
- pm4py.algo.evaluation.generalization package
- pm4py.algo.evaluation.precision package
- Subpackages
- Submodules
- pm4py.algo.evaluation.precision.algorithm module
- pm4py.algo.evaluation.precision.evaluator module
- pm4py.algo.evaluation.precision.parameters module
- pm4py.algo.evaluation.precision.utils module
- Module contents
- pm4py.algo.evaluation.replay_fitness package
- pm4py.algo.evaluation.simplicity package
Submodules¶
pm4py.algo.evaluation.algorithm module¶
This file is part of PM4Py (More Info: https://pm4py.fit.fraunhofer.de).
PM4Py is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
PM4Py is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with PM4Py. If not, see <https://www.gnu.org/licenses/>.
-
class
pm4py.algo.evaluation.algorithm.Parameters[source]¶ Bases:
enum.EnumAn enumeration.
-
ACTIVITY_KEY= 'pm4py:param:activity_key'¶
-
PARAM_FITNESS_WEIGHT= 'fitness_weight'¶
-
PARAM_GENERALIZATION_WEIGHT= 'generalization_weight'¶
-
PARAM_PRECISION_WEIGHT= 'precision_weight'¶
-
PARAM_SIMPLICITY_WEIGHT= 'simplicity_weight'¶
-
-
pm4py.algo.evaluation.algorithm.apply(log: Union[pm4py.objects.log.obj.EventLog, pandas.core.frame.DataFrame], net: pm4py.objects.petri_net.obj.PetriNet, initial_marking: pm4py.objects.petri_net.obj.Marking, final_marking: pm4py.objects.petri_net.obj.Marking, parameters: Optional[Dict[Union[str, pm4py.algo.evaluation.algorithm.Parameters], Any]] = None) → Dict[str, float][source]¶ Calculates all metrics based on token-based replay and returns a unified dictionary
Parameters: - log – Log
- net – Petri net
- initial_marking – Initial marking
- final_marking – Final marking
- parameters – Parameters
Returns: Dictionary containing fitness, precision, generalization and simplicity; along with the average weight of these metrics
Return type: dictionary
pm4py.algo.evaluation.evaluator module¶
This file is part of PM4Py (More Info: https://pm4py.fit.fraunhofer.de).
PM4Py is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
PM4Py is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with PM4Py. If not, see <https://www.gnu.org/licenses/>.
Module contents¶
This file is part of PM4Py (More Info: https://pm4py.fit.fraunhofer.de).
PM4Py is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
PM4Py is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with PM4Py. If not, see <https://www.gnu.org/licenses/>.