pm4py.ocel#
The pm4py.ocel
module contains the object-centric process mining features offered in pm4py
.
Functions
|
Clusters the object-centric event log based on the 'executions' of a single object type. |
|
Discovers an object graph from the provided object-centric event log. |
|
Discovers an object-centric Petri net from the provided object-centric event log. |
|
Discovers an Object-Centric Directly-Follows Graph (OC-DFG) from an object-centric event log. |
Adds a small time delta to the timestamp column based on the event index to ensure the correct ordering of events within any object-centric process mining solution. |
|
|
Removes duplicate relations between events and objects that occur at the same time, have the same activity, and are linked to the same object identifier. |
Enriches the OCEL with lifecycle-based information, indicating when an object is created, terminated, or has other types of relations, by updating the E2O relations. |
|
|
Flattens the object-centric event log to a traditional event log based on a chosen object type. |
|
Returns the list of attributes at the event and object levels of an object-centric event log (e.g., ["cost", "amount", "name"]). |
|
Returns the list of object types contained in the object-centric event log (e.g., ["order", "item", "delivery"]). |
|
Merges events in the OCEL that have the same activity and timestamp. |
|
Enriches the OCEL with information inferred from graph computations by inserting them into the O2O relations. |
Returns the set of activities performed for each object type. |
|
Returns the objects interactions summary of an object-centric event log. |
|
|
Returns the count of related objects per type for each event. |
|
Returns the objects summary of an object-centric event log. |
|
Sorts the OCEL based on the primary timestamp column and an additional column to determine the order of events occurring at the same timestamp. |
|
Returns the temporal summary of an object-centric event log. |
|
Returns a sampled object-centric event log containing a specified number of connected components. |
|
Returns a sampled object-centric event log containing a random subset of objects. |