pm4py.algo.discovery.log_skeleton package#
PM4Py – A Process Mining Library for Python
Copyright (C) 2024 Process Intelligence Solutions UG (haftungsbeschränkt)
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or any later version.
This program 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 Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License along with this program. If not, see this software project’s root or visit <https://www.gnu.org/licenses/>.
Website: https://processintelligence.solutions Contact: info@processintelligence.solutions
Subpackages#
Submodules#
pm4py.algo.discovery.log_skeleton.algorithm module#
PM4Py – A Process Mining Library for Python
Copyright (C) 2024 Process Intelligence Solutions UG (haftungsbeschränkt)
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or any later version.
This program 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 Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License along with this program. If not, see this software project’s root or visit <https://www.gnu.org/licenses/>.
Website: https://processintelligence.solutions Contact: info@processintelligence.solutions
- class pm4py.algo.discovery.log_skeleton.algorithm.Variants(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)[source]#
Bases:
Enum
- CLASSIC = <module 'pm4py.algo.discovery.log_skeleton.variants.classic' from 'C:\\Users\\berti\\pm4py-core\\pm4py\\algo\\discovery\\log_skeleton\\variants\\classic.py'>#
- pm4py.algo.discovery.log_skeleton.algorithm.apply(log: EventLog | EventStream | DataFrame, variant=Variants.CLASSIC, parameters: Dict[Any, Any] | None = None) Dict[str, Any] [source]#
Discover a log skeleton from an event log
Parameters#
- log
Event log
- variant
Variant of the algorithm, possible values: - Variants.CLASSIC
- parameters
- Parameters of the algorithm, including:
the activity key (Parameters.ACTIVITY_KEY)
the noise threshold (Parameters.NOISE_THRESHOLD)
Returns#
- model
Log skeleton model
- pm4py.algo.discovery.log_skeleton.algorithm.apply_from_variants_list(var_list: List[Tuple[str, int]], variant=Variants.CLASSIC, parameters: Dict[Any, Any] | None = None) Dict[str, Any] [source]#
Discovers the log skeleton from the variants list
Parameters#
- var_list
Variants list
- variant
Variant of the algorithm, possible values: - Variants.CLASSIC
- parameters
Parameters
Returns#
- model
Log skeleton model
pm4py.algo.discovery.log_skeleton.trace_skel module#
PM4Py – A Process Mining Library for Python
Copyright (C) 2024 Process Intelligence Solutions UG (haftungsbeschränkt)
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or any later version.
This program 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 Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License along with this program. If not, see this software project’s root or visit <https://www.gnu.org/licenses/>.
Website: https://processintelligence.solutions Contact: info@processintelligence.solutions
- pm4py.algo.discovery.log_skeleton.trace_skel.equivalence(trace)[source]#
Get the equivalence relations given a list of activities
Parameters#
- trace
List activities
Returns#
- rel
Relations inside the trace
- pm4py.algo.discovery.log_skeleton.trace_skel.after(trace)[source]#
Get the after- relations given a list of activities
Parameters#
- trace
List activities
Returns#
- rel
After- inside the trace
- pm4py.algo.discovery.log_skeleton.trace_skel.before(trace)[source]#
Get the before- relations given a list of activities
Parameters#
- trace
List activities
Returns#
- rel
Before- inside the trace
- pm4py.algo.discovery.log_skeleton.trace_skel.combos(trace)[source]#
Get the combinations between all the activities of the trace relations given a list of activities
Parameters#
- trace
List activities
Returns#
- rel
Combos inside the trace
- pm4py.algo.discovery.log_skeleton.trace_skel.directly_follows(trace)[source]#
Get the directly-follows relations given a list of activities
Parameters#
- trace
List activities
Returns#
- rel
Directly-follows relations inside the trace