pm4py.algo.conformance.footprints.util package¶
Submodules¶
pm4py.algo.conformance.footprints.util.evaluation 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.conformance.footprints.util.evaluation.Outputs[source]¶ Bases:
enum.EnumAn enumeration.
-
ACTIVITIES= 'activities'¶
-
ACTIVITIES_ALWAYS_HAPPENING= 'activities_always_happening'¶
-
DFG= 'dfg'¶
-
END_ACTIVITIES= 'end_activities'¶
-
MIN_TRACE_LENGTH= 'min_trace_length'¶
-
PARALLEL= 'parallel'¶
-
SEQUENCE= 'sequence'¶
-
SKIPPABLE= 'skippable'¶
-
START_ACTIVITIES= 'start_activities'¶
-
TRACE= 'trace'¶
-
-
pm4py.algo.conformance.footprints.util.evaluation.flatten_conf(conf: List[Dict[str, Any]]) → Dict[str, Any][source]¶ Flattens the trace-based conformance checking results (obtained using footprints) to the conformance checking results on the overall log
Parameters: conf – Trace-based conformance checking results Returns: Overall log conformance checking results Return type: log_conf
-
pm4py.algo.conformance.footprints.util.evaluation.flatten_fp(fp: List[Dict[str, Any]]) → Dict[str, Any][source]¶ Flattens the trace-based footprints to the footprints of the overall log
Parameters: fp – Trace-based footprints Returns: Overall log footprints Return type: log_fp
-
pm4py.algo.conformance.footprints.util.evaluation.fp_fitness(fp_log, fp_model, conf_results, parameters=None)[source]¶ Calculates the footprints fitness provided the footprints of the log, and the result of footprints conformance (applied to the entire log)
Parameters: - fp_log – Footprints of the log
- fp_model – Footprints of the model
- conf_results – Footprints conformance (applied to the entire log)
- parameters – Parameters of the algorithm
Returns: Fitness value (between 0.0 and 1.0)
Return type: fitness
-
pm4py.algo.conformance.footprints.util.evaluation.fp_precision(fp_log, fp_model, parameters=None)[source]¶ Calculates the footprints based precision provided the two footprints of the log and the model.
Parameters: - fp_log – Footprints of the log
- fp_model – Footprints of the model
- parameters – Parameters of the algorithm
Returns: Precision value (between 0 and 1)
Return type: precision
pm4py.algo.conformance.footprints.util.tree_visualization 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.conformance.footprints.util.tree_visualization.Outputs[source]¶ Bases:
enum.EnumAn enumeration.
-
ACTIVITIES= 'activities'¶
-
ACTIVITIES_ALWAYS_HAPPENING= 'activities_always_happening'¶
-
DFG= 'dfg'¶
-
END_ACTIVITIES= 'end_activities'¶
-
MIN_TRACE_LENGTH= 'min_trace_length'¶
-
PARALLEL= 'parallel'¶
-
SEQUENCE= 'sequence'¶
-
SKIPPABLE= 'skippable'¶
-
START_ACTIVITIES= 'start_activities'¶
-
TRACE= 'trace'¶
-
-
pm4py.algo.conformance.footprints.util.tree_visualization.apply(tree, conf_results, parameters=None)[source]¶ Projects conformance results on top of the process tree
Parameters: - tree – Process tree
- conf_results – Conformance results (footprints on the entire log vs entire model)
- parameters – Parameters of the algorithm
Returns: Color map to be provided to the visualization
Return type: color_map
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/>.