pm4py.algo.discovery.transition_system package¶
Subpackages¶
Submodules¶
pm4py.algo.discovery.transition_system.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.transition_system.algorithm.Variants[source]¶ Bases:
enum.EnumAn enumeration.
-
VIEW_BASED= <module 'pm4py.algo.discovery.transition_system.variants.view_based' from '/home/docs/checkouts/readthedocs.org/user_builds/pm4py-source/checkouts/latest/pm4py/algo/discovery/transition_system/variants/view_based.py'>¶
-
-
pm4py.algo.discovery.transition_system.algorithm.apply(log: Union[pm4py.objects.log.obj.EventLog, pm4py.objects.log.obj.EventStream, pandas.core.frame.DataFrame], parameters: Optional[Dict[Any, Any]] = None, variant=<Variants.VIEW_BASED: <module 'pm4py.algo.discovery.transition_system.variants.view_based' from '/home/docs/checkouts/readthedocs.org/user_builds/pm4py-source/checkouts/latest/pm4py/algo/discovery/transition_system/variants/view_based.py'>>) → pm4py.objects.transition_system.obj.TransitionSystem[source]¶ Find transition system given log
Parameters: log – Log
parameters –
- Possible parameters of the algorithm, including:
Parameters.PARAM_KEY_VIEW Parameters.PARAM_KEY_WINDOW Parameters.PARAM_KEY_DIRECTION
variant –
- Variant of the algorithm to use, including:
Variants.VIEW_BASED
Returns: Transition system
Return type: ts
pm4py.algo.discovery.transition_system.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.transition_system.parameters.Parameters[source]¶ Bases:
enum.EnumAn enumeration.
-
ACTIVITY_KEY= 'pm4py:param:activity_key'¶
-
DIRECTIONS= {'backward', 'forward'}¶
-
DIRECTION_BACKWARD= 'backward'¶
-
DIRECTION_FORWARD= 'forward'¶
-
INCLUDE_DATA= 'include_data'¶
-
PARAM_KEY_DIRECTION= 'direction'¶
-
PARAM_KEY_VIEW= 'view'¶
-
PARAM_KEY_WINDOW= 'window'¶
-
VIEWS= {'multiset', 'sequence', 'set'}¶
-
VIEW_MULTI_SET= 'multiset'¶
-
VIEW_SEQUENCE= 'sequence'¶
-
VIEW_SET= 'set'¶
-
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/>.