pm4py.algo.discovery.performance_spectrum package

Submodules

pm4py.algo.discovery.performance_spectrum.algorithm module

class pm4py.algo.discovery.performance_spectrum.algorithm.Outputs(value)[source]

Bases: enum.Enum

An enumeration.

LIST_ACTIVITIES = 'list_activities'
POINTS = 'points'
class pm4py.algo.discovery.performance_spectrum.algorithm.Parameters(value)[source]

Bases: enum.Enum

An enumeration.

ACTIVITY_KEY = 'pm4py:param:activity_key'
ATTRIBUTE_KEY = 'pm4py:param:attribute_key'
CASE_ID_KEY = 'case_id_glue'
PARAMETER_SAMPLE_SIZE = 'sample_size'
TIMESTAMP_KEY = 'pm4py:param:timestamp_key'
class pm4py.algo.discovery.performance_spectrum.algorithm.Variants(value)[source]

Bases: enum.Enum

An enumeration.

DATAFRAME = <module 'pm4py.algo.discovery.performance_spectrum.variants.dataframe' from 'C:\\Users\\berti\\FRAUNHOFER\\pm4py-core\\pm4py\\algo\\discovery\\performance_spectrum\\variants\\dataframe.py'>
DATAFRAME_DISCONNECTED = <module 'pm4py.algo.discovery.performance_spectrum.variants.dataframe_disconnected' from 'C:\\Users\\berti\\FRAUNHOFER\\pm4py-core\\pm4py\\algo\\discovery\\performance_spectrum\\variants\\dataframe_disconnected.py'>
LOG = <module 'pm4py.algo.discovery.performance_spectrum.variants.log' from 'C:\\Users\\berti\\FRAUNHOFER\\pm4py-core\\pm4py\\algo\\discovery\\performance_spectrum\\variants\\log.py'>
LOG_DISCONNECTED = <module 'pm4py.algo.discovery.performance_spectrum.variants.log_disconnected' from 'C:\\Users\\berti\\FRAUNHOFER\\pm4py-core\\pm4py\\algo\\discovery\\performance_spectrum\\variants\\log_disconnected.py'>
pm4py.algo.discovery.performance_spectrum.algorithm.apply(log, list_activities, variant=None, parameters=None)[source]

Finds the performance spectrum provided a log/dataframe and a list of activities

Parameters
  • log – Event log/Dataframe

  • list_activities – List of activities interesting for the performance spectrum (at least two)

  • variant – Variant to be used (see Variants Enum)

  • parameters

    Parameters of the algorithm, including:
    • Parameters.ACTIVITY_KEY

    • Parameters.TIMESTAMP_KEY

Returns

Performance spectrum object (dictionary)

Return type

ps

pm4py.algo.discovery.performance_spectrum.outputs module

class pm4py.algo.discovery.performance_spectrum.outputs.Outputs(value)[source]

Bases: enum.Enum

An enumeration.

LIST_ACTIVITIES = 'list_activities'
POINTS = 'points'

pm4py.algo.discovery.performance_spectrum.parameters module

class pm4py.algo.discovery.performance_spectrum.parameters.Parameters(value)[source]

Bases: enum.Enum

An enumeration.

ACTIVITY_KEY = 'pm4py:param:activity_key'
ATTRIBUTE_KEY = 'pm4py:param:attribute_key'
CASE_ID_KEY = 'case_id_glue'
PARAMETER_SAMPLE_SIZE = 'sample_size'
TIMESTAMP_KEY = 'pm4py:param:timestamp_key'

Module contents