pm4py.algo.discovery.log_skeleton package¶
Subpackages¶
Submodules¶
pm4py.algo.discovery.log_skeleton.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.discovery.log_skeleton.algorithm.Variants[source]¶ Bases:
enum.EnumAn enumeration.
-
CLASSIC= <module 'pm4py.algo.discovery.log_skeleton.variants.classic' from '/home/docs/checkouts/readthedocs.org/user_builds/pm4py-source/checkouts/stable/pm4py/algo/discovery/log_skeleton/variants/classic.py'>¶
-
-
pm4py.algo.discovery.log_skeleton.algorithm.apply(log: Union[pm4py.objects.log.obj.EventLog, pm4py.objects.log.obj.EventStream, pandas.core.frame.DataFrame], variant=<Variants.CLASSIC: <module 'pm4py.algo.discovery.log_skeleton.variants.classic' from '/home/docs/checkouts/readthedocs.org/user_builds/pm4py-source/checkouts/stable/pm4py/algo/discovery/log_skeleton/variants/classic.py'>>, parameters: Optional[Dict[Any, Any]] = 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: Log skeleton model
Return type: model
-
pm4py.algo.discovery.log_skeleton.algorithm.apply_from_variants_list(var_list: List[Tuple[str, int]], variant=<Variants.CLASSIC: <module 'pm4py.algo.discovery.log_skeleton.variants.classic' from '/home/docs/checkouts/readthedocs.org/user_builds/pm4py-source/checkouts/stable/pm4py/algo/discovery/log_skeleton/variants/classic.py'>>, parameters: Optional[Dict[Any, Any]] = 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: Log skeleton model
Return type: model
pm4py.algo.discovery.log_skeleton.outputs 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.discovery.log_skeleton.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.discovery.log_skeleton.parameters.Parameters[source]¶ Bases:
enum.EnumAn enumeration.
-
ACTIVITY_KEY= 'pm4py:param:activity_key'¶
-
CASE_ID_KEY= 'pm4py:param:case_id_key'¶
-
CONSIDERED_CONSTRAINTS= 'considered_constraints'¶
-
DEFAULT_CONSIDERED_CONSTRAINTS= ['equivalence', 'always_after', 'always_before', 'never_together', 'directly_follows', 'activ_freq']¶
-
NOISE_THRESHOLD= 'noise_threshold'¶
-
PARAMETER_VARIANT_DELIMITER= 'variant_delimiter'¶
-
pm4py.algo.discovery.log_skeleton.trace_skel 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.discovery.log_skeleton.trace_skel.activ_freq(trace)[source]¶ Gets the frequency of activities happening in a trace
Parameters: trace – List activities Returns: Frequency of activities Return type: freq
-
pm4py.algo.discovery.log_skeleton.trace_skel.after(trace)[source]¶ Get the after- relations given a list of activities
Parameters: trace – List activities Returns: After- inside the trace Return type: rel
-
pm4py.algo.discovery.log_skeleton.trace_skel.before(trace)[source]¶ Get the before- relations given a list of activities
Parameters: trace – List activities Returns: Before- inside the trace Return type: rel
-
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: Combos inside the trace Return type: rel
-
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: Directly-follows relations inside the trace Return type: rel
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/>.