pm4py.evaluation package¶
Subpackages¶
- pm4py.evaluation.earth_mover_distance package
- pm4py.evaluation.generalization package
- pm4py.evaluation.precision package
- pm4py.evaluation.replay_fitness package
- pm4py.evaluation.simplicity package
- pm4py.evaluation.soundness package
- pm4py.evaluation.wf_net package
Submodules¶
pm4py.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/>.
-
class
pm4py.evaluation.evaluator.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.evaluation.evaluator.apply(log, net, initial_marking, final_marking, parameters=None)[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
Deprecated since version 2.2.5: This will be removed in 3.0. Use the pm4py.algo.evaluation.evaluator class
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/>.