pm4py.algo.filtering.log.auto_filter package

Submodules

pm4py.algo.filtering.log.auto_filter.auto_filter module

class pm4py.algo.filtering.log.auto_filter.auto_filter.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'
DECREASING_FACTOR = 'decreasingFactor'
ENABLE_ACTIVITES_FILTER = 'enable_activities_filter'
ENABLE_END_ACTIVITIES_FILTER = 'enable_end_activities_filter'
ENABLE_START_ACTIVITIES_FILTER = 'enable_start_activities_filter'
ENABLE_VARIANTS_FILTER = 'enable_variants_filter'
POSITIVE = 'positive'
pm4py.algo.filtering.log.auto_filter.auto_filter.apply_auto_filter(log, parameters=None)[source]

Apply some filters in battery to the log in order to get a simplified log

Parameters
  • log – Log

  • parameters

    Eventual parameters applied to the algorithms:

    Parameters.DECREASING_FACTOR -> Decreasing factor (provided to all algorithms) Parameters.ACTIVITY_KEY -> Activity key (must be specified if different from concept:name)

Returns

Filtered log

Return type

filtered_log

Module contents