pm4py.statistics.rework.log package

Submodules

pm4py.statistics.rework.log.get module

class pm4py.statistics.rework.log.get.Parameters(value)[source]

Bases: enum.Enum

An enumeration.

ACTIVITY_KEY = 'pm4py:param:activity_key'
pm4py.statistics.rework.log.get.apply(log: Union[pm4py.objects.log.obj.EventLog, pm4py.objects.log.obj.EventStream], parameters: Optional[Dict[str, Any]] = None) → Dict[str, int][source]

Associates to each activity (with at least one rework) the number of cases in the log for which the rework happened.

Parameters
  • log – Event log

  • parameters – Parameters of the algorithm, including: - Parameters.ACTIVITY_KEY => the attribute to be used as activity

Returns

Dictionary associating to each activity the number of cases for which the rework happened

Return type

dict

Module contents