pm4py.algo.filtering.ocel.object_attributes module#
- class pm4py.algo.filtering.ocel.object_attributes.Parameters(*values)[source]#
Bases:
Enum- ATTRIBUTE_KEY = 'pm4py:param:attribute_key'#
- POSITIVE = 'positive'#
- pm4py.algo.filtering.ocel.object_attributes.apply(ocel: OCEL, values: Collection[Any], parameters: Dict[Any, Any] | None = None) OCEL[source]#
Filters the object-centric event log on the provided object attributes values
- Parameters:
ocel – Object-centric event log
values – Collection of values
parameters – Parameters of the algorithm, including: - Parameters.ATTRIBUTE_KEY => the attribute that should be filtered - Parameters.POSITIVE => decides if the values should be kept (positive=True) or removed (positive=False)
- Returns:
Filtered object-centric event log
- Return type:
ocel