pm4py.stats#
The pm4py.stats
module contains the statistics offered in pm4py
Functions
|
Given an event log, returns a dictionary which summarize the positions of the activities in the different cases of the event log. |
|
Gets the durations of the cases in the event log |
|
Gets the average difference between the start times of two consecutive cases |
|
Gets the duration of a specific case |
|
Associates to each case in the log the number of cases concurrently open |
|
Calculates the cycle time of the event log. |
|
Returns the end activities of a log |
|
Returns the values for a specified (event) attribute |
|
Returns the attributes at the event level of the log |
|
Get the traces (segments of activities) from an event log object. |
|
This function derives the minimum self distance witnesses. |
|
This algorithm computes the minimum self-distance for each activity observed in an event log. |
|
Find out for which activities of the log the rework (more than one occurrence in the trace for the activity) occurs. |
|
Gets the activities' (average/median/...) service time in the provided event log |
|
Returns the start activities from a log object |
|
Gets the stochastic language from the provided object |
|
Returns the values for a specified trace attribute |
|
Gets the attributes at the trace level of a log object |
|
Gets the variants from the log |
|
Gets the variants from the log (where the keys are tuples and not strings) |
|
Method that associates to a log object a Pandas dataframe aggregated by variants and positions (inside the variant). Each row is associated to different columns: - The variant - The position (in the variant) - The source activity (of the path) - The target activity (of the path) - An aggregation of the times between the two activities (for example, the mean over all the cases of the same variant) - The cumulative occurrences of the path inside the case (for example, the first A->B would be associated to 0, and the second A->B would be associated to 1). |
|
Splits an event log into sub-dataframes for each process variant. |