pm4py.algo.discovery.footprints.log.variants package

Submodules

pm4py.algo.discovery.footprints.log.variants.entire_dataframe 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.footprints.log.variants.entire_dataframe.Outputs(value)[source]

Bases: enum.Enum

An enumeration.

ACTIVITIES = 'activities'
ACTIVITIES_ALWAYS_HAPPENING = 'activities_always_happening'
DFG = 'dfg'
END_ACTIVITIES = 'end_activities'
MIN_TRACE_LENGTH = 'min_trace_length'
PARALLEL = 'parallel'
SEQUENCE = 'sequence'
SKIPPABLE = 'skippable'
START_ACTIVITIES = 'start_activities'
TRACE = 'trace'
class pm4py.algo.discovery.footprints.log.variants.entire_dataframe.Parameters(value)[source]

Bases: enum.Enum

An enumeration.

ACTIVITY_KEY = 'pm4py:param:activity_key'
CASE_ID_KEY = 'pm4py:param:case_id_key'
INDEX_KEY = 'index_key'
SORT_REQUIRED = 'sort_required'
START_TIMESTAMP_KEY = 'pm4py:param:start_timestamp_key'
TIMESTAMP_KEY = 'pm4py:param:timestamp_key'
pm4py.algo.discovery.footprints.log.variants.entire_dataframe.apply(df: pandas.core.frame.DataFrame, parameters: Optional[Dict[Union[str, pm4py.algo.discovery.footprints.log.variants.entire_dataframe.Parameters], Any]] = None) Dict[str, Any][source]

Discovers a footprint object from a dataframe (the footprints of the dataframe are returned)

Parameters
  • df – Dataframe

  • parameters – Parameters of the algorithm

Returns

Footprints object

Return type

footprints_obj

pm4py.algo.discovery.footprints.log.variants.entire_event_log 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.footprints.log.variants.entire_event_log.Outputs(value)[source]

Bases: enum.Enum

An enumeration.

ACTIVITIES = 'activities'
ACTIVITIES_ALWAYS_HAPPENING = 'activities_always_happening'
DFG = 'dfg'
END_ACTIVITIES = 'end_activities'
MIN_TRACE_LENGTH = 'min_trace_length'
PARALLEL = 'parallel'
SEQUENCE = 'sequence'
SKIPPABLE = 'skippable'
START_ACTIVITIES = 'start_activities'
TRACE = 'trace'
class pm4py.algo.discovery.footprints.log.variants.entire_event_log.Parameters(value)[source]

Bases: enum.Enum

An enumeration.

ACTIVITY_KEY = 'pm4py:param:activity_key'
pm4py.algo.discovery.footprints.log.variants.entire_event_log.apply(log: pm4py.objects.log.obj.EventLog, parameters: Optional[Dict[Union[str, pm4py.algo.discovery.footprints.log.variants.entire_event_log.Parameters], Any]] = None) Dict[str, Any][source]

Discovers a footprint object from an event log (the footprints of the event log are returned)

Parameters
  • log – Log

  • parameters

    Parameters of the algorithm:
    • Parameters.ACTIVITY_KEY

Returns

Footprints object

Return type

footprints_obj

pm4py.algo.discovery.footprints.log.variants.trace_by_trace 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.footprints.log.variants.trace_by_trace.Outputs(value)[source]

Bases: enum.Enum

An enumeration.

ACTIVITIES = 'activities'
ACTIVITIES_ALWAYS_HAPPENING = 'activities_always_happening'
DFG = 'dfg'
END_ACTIVITIES = 'end_activities'
MIN_TRACE_LENGTH = 'min_trace_length'
PARALLEL = 'parallel'
SEQUENCE = 'sequence'
SKIPPABLE = 'skippable'
START_ACTIVITIES = 'start_activities'
TRACE = 'trace'
class pm4py.algo.discovery.footprints.log.variants.trace_by_trace.Parameters(value)[source]

Bases: enum.Enum

An enumeration.

ACTIVITY_KEY = 'pm4py:param:activity_key'
pm4py.algo.discovery.footprints.log.variants.trace_by_trace.apply(log, parameters: Optional[Dict[Union[str, pm4py.algo.discovery.footprints.log.variants.trace_by_trace.Parameters], Any]] = None) Dict[str, Any][source]

Discovers a footprint object from an event log (the footprints are returned case-by-case)

Parameters
  • log – Log

  • parameters

    Parameters of the algorithm:
    • Parameters.ACTIVITY_KEY

Returns

List of footprints for the cases of the log

Return type

footprints_obj

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