pm4py.algo.discovery.temporal_profile.algorithm module#

pm4py.algo.discovery.temporal_profile.algorithm.apply(elog: EventLog | DataFrame, parameters: Dict[Any, Any] | None = None) Dict[Tuple[str, str], Tuple[float, float]][source]#

Discovers the temporal profile out of the provided log object.

Implements the approach described in: Stertz, Florian, Jürgen Mangler, and Stefanie Rinderle-Ma. “Temporal Conformance Checking at Runtime based on Time-infused Process Models.” arXiv preprint arXiv:2008.07262 (2020).

Parameters:
  • elog – Event log

  • parameters – Parameters, including: - Parameters.ACTIVITY_KEY => the attribute to use as activity - Parameters.START_TIMESTAMP_KEY => the attribute to use as start timestamp - Parameters.TIMESTAMP_KEY => the attribute to use as timestamp

Returns:

Temporal profile of the log

Return type:

temporal_profile