pm4py.algo.discovery.performance_spectrum.variants.log module#

class pm4py.algo.discovery.performance_spectrum.variants.log.Parameters(*values)[source]#

Bases: Enum

ACTIVITY_KEY = 'pm4py:param:activity_key'#
TIMESTAMP_KEY = 'pm4py:param:timestamp_key'#
CASE_ID_KEY = 'pm4py:param:case_id_key'#
ATTRIBUTE_KEY = 'pm4py:param:attribute_key'#
PARAMETER_SAMPLE_SIZE = 'sample_size'#
SORT_LOG_REQUIRED = 'sort_log_required'#
pm4py.algo.discovery.performance_spectrum.variants.log.apply(log: EventLog, list_activities: List[str], sample_size: int, parameters: Dict[str | Parameters, Any] | None = None) Dict[str, Any][source]#

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

Parameters:
  • log – Log

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

  • sample_size – Size of the sample

  • parameters

    Parameters of the algorithm, including:
    • Parameters.ACTIVITY_KEY

    • Parameters.TIMESTAMP_KEY

Returns:

Points of the performance spectrum

Return type:

points