pm4py.statistics.ocel.act_ot_dependent module#
- class pm4py.statistics.ocel.act_ot_dependent.Parameters(*values)[source]#
Bases:
Enum- OBJECT_TYPE = 'param:object:type'#
- pm4py.statistics.ocel.act_ot_dependent.aggregate_events(associations: Dict[str, Dict[str, Set[Tuple[str, str]]]]) Dict[str, Dict[str, Set[Tuple[str, str]]]][source]#
Utility method to calculate the “events” metric from the object-type specific associations.
- pm4py.statistics.ocel.act_ot_dependent.aggregate_unique_objects(associations: Dict[str, Dict[str, Set[Tuple[str, str]]]]) Dict[str, Dict[str, Set[Tuple[str, str]]]][source]#
Utility method to calculate the “unique objects” metric from the object-type specific associations.
- pm4py.statistics.ocel.act_ot_dependent.aggregate_total_objects(associations: Dict[str, Dict[str, Set[Tuple[str, str]]]]) Dict[str, Dict[str, Set[Tuple[str, str]]]][source]#
Utility method to calculate the “total objects” metric from the object-type specific associations.
- pm4py.statistics.ocel.act_ot_dependent.find_associations_from_ocel(ocel: OCEL, parameters: Dict[Any, Any] | None = None) Dict[str, Dict[str, List[Tuple[str, str]]]][source]#
Associates each object type and activity in the object-centric event log with the combinations of event identifiers and objects that are associated to them.
- Parameters:
ocel – Object-centric event log
parameters – Parameters of the method, including: - Parameters.EVENT_ID => the attribute to use as event identifier - Parameters.OBJECT_ID => the attribute to use as object identifier - Parameters.EVENT_ACTIVITY => the attribute to use as activity
- Returns:
Dictionary that associates each object type (first key) and activity (second key) to its (ev. id, obj id.) combinations.
- Return type:
dict_associations