pm4py.algo.evaluation.precision package¶
Subpackages¶
Submodules¶
pm4py.algo.evaluation.precision.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.precision.algorithm.Variants[source]¶ Bases:
enum.EnumAn enumeration.
-
ALIGN_ETCONFORMANCE= <module 'pm4py.algo.evaluation.precision.variants.align_etconformance' from '/home/docs/checkouts/readthedocs.org/user_builds/pm4py-source/checkouts/stable/pm4py/algo/evaluation/precision/variants/align_etconformance.py'>¶
-
ETCONFORMANCE_TOKEN= <module 'pm4py.algo.evaluation.precision.variants.etconformance_token' from '/home/docs/checkouts/readthedocs.org/user_builds/pm4py-source/checkouts/stable/pm4py/algo/evaluation/precision/variants/etconformance_token.py'>¶
-
-
pm4py.algo.evaluation.precision.algorithm.apply(log: Union[pm4py.objects.log.obj.EventLog, pm4py.objects.log.obj.EventStream, pandas.core.frame.DataFrame], net: pm4py.objects.petri_net.obj.PetriNet, marking: pm4py.objects.petri_net.obj.Marking, final_marking: pm4py.objects.petri_net.obj.Marking, parameters: Optional[Dict[Any, Any]] = None, variant=None) → float[source]¶ Method to apply ET Conformance
Parameters: log – Trace log
net – Petri net
marking – Initial marking
final_marking – Final marking
parameters –
- Parameters of the algorithm, including:
pm4py.util.constants.PARAMETER_CONSTANT_ACTIVITY_KEY -> Activity key
variant –
- Variant of the algorithm that should be applied:
- Variants.ETCONFORMANCE_TOKEN
- Variants.ALIGN_ETCONFORMANCE
pm4py.algo.evaluation.precision.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.algo.evaluation.precision.evaluator.Variants[source]¶ Bases:
enum.EnumAn enumeration.
-
ALIGN_ETCONFORMANCE= <module 'pm4py.algo.evaluation.precision.variants.align_etconformance' from '/home/docs/checkouts/readthedocs.org/user_builds/pm4py-source/checkouts/stable/pm4py/algo/evaluation/precision/variants/align_etconformance.py'>¶
-
ETCONFORMANCE_TOKEN= <module 'pm4py.algo.evaluation.precision.variants.etconformance_token' from '/home/docs/checkouts/readthedocs.org/user_builds/pm4py-source/checkouts/stable/pm4py/algo/evaluation/precision/variants/etconformance_token.py'>¶
-
-
pm4py.algo.evaluation.precision.evaluator.apply(log, net, marking, final_marking, parameters=None, variant=None)[source]¶ Method to apply ET Conformance
Parameters: log – Trace log
net – Petri net
marking – Initial marking
final_marking – Final marking
parameters –
- Parameters of the algorithm, including:
pm4py.util.constants.PARAMETER_CONSTANT_ACTIVITY_KEY -> Activity key
variant –
- Variant of the algorithm that should be applied:
- Variants.ETCONFORMANCE_TOKEN
- Variants.ALIGN_ETCONFORMANCE
Deprecated since version 2.2.5: This will be removed in 3.0.0. please use pm4py.algo.evaluation.precision.algorithm instead
pm4py.algo.evaluation.precision.parameters 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.precision.parameters.Parameters[source]¶ Bases:
enum.EnumAn enumeration.
-
ACTIVITY_KEY= 'pm4py:param:activity_key'¶
-
CLEANING_TOKEN_FLOOD= 'cleaning_token_flood'¶
-
CORES= 'cores'¶
-
MULTIPROCESSING= 'multiprocessing'¶
-
SHOW_PROGRESS_BAR= 'show_progress_bar'¶
-
TOKEN_REPLAY_VARIANT= 'token_replay_variant'¶
-
pm4py.algo.evaluation.precision.utils 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/>.
-
pm4py.algo.evaluation.precision.utils.form_fake_log(prefixes_keys, activity_key='concept:name')[source]¶ Form fake log for replay (putting each prefix as separate trace to align)
Parameters: - prefixes_keys – Keys of the prefixes (to form a log with a given order)
- activity_key – Activity key (must be provided if different from concept:name)
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/>.