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(value)[source]

Bases: enum.Enum

An enumeration.

VIEW_BASED = <module 'pm4py.algo.discovery.transition_system.variants.view_based' from 'C:\\Users\\berti\\pm4py-core\\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) 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(value)[source]

Bases: enum.Enum

An 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/>.