- pm4py.filtering.filter_ocel_cc_activity(ocel: OCEL, activity: str) OCEL #
Filters the objects belonging to the connected components having at least an event with the provided activity.
Paper: Adams, Jan Niklas, et al. “Defining cases and variants for object-centric event data.” 2022 4th International Conference on Process Mining (ICPM). IEEE, 2022.
OCEL) – object-centric event log
str) – activity
- Return type:
import pm4py ocel = pm4py.read_ocel('log.jsonocel') filtered_ocel = pm4py.filter_ocel_cc_activity(ocel, 'Create Order')