pm4py.algo.discovery.temporal_profile package


pm4py.algo.discovery.temporal_profile.algorithm module

pm4py.algo.discovery.temporal_profile.algorithm.apply(elog: Union[pm4py.objects.log.obj.EventLog, pandas.core.frame.DataFrame], parameters: Optional[Dict[Any, Any]] = 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).

  • 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


Temporal profile of the log

Return type


Module contents