pm4py.statistics.attributes.log.select module#
- pm4py.statistics.attributes.log.select.select_attributes_from_log_for_tree(log: EventLog, max_cases_for_attr_selection=50, max_diff_occ=12.5)[source]#
Select attributes from log for tree
- Parameters:
log – Log
max_cases_for_attr_selection – Maximum number of cases to consider for attribute selection
max_diff_occ – Maximum number of different occurrences
- pm4py.statistics.attributes.log.select.check_trace_attributes_presence(log: EventLog, attributes_set: Set[str] | List[str]) Set[str] | List[str][source]#
Check trace attributes presence in all the traces of the log
- Parameters:
log – Log
attributes_set – Set of attributes
- Returns:
Filtered set of attributes
- Return type:
filtered_set
- pm4py.statistics.attributes.log.select.check_event_attributes_presence(log: EventLog, attributes_set: Set[str] | List[str]) Set[str] | List[str][source]#
Check event attributes presence in all the traces of the log
- Parameters:
log – Log
attributes_set – Set of attributes
- Returns:
Filtered set of attributes
- Return type:
filtered_set
- pm4py.statistics.attributes.log.select.verify_if_event_attribute_is_in_each_trace(log: EventLog, attribute: str) bool[source]#
Verify if the event attribute is in each trace
- Parameters:
log – Log
attribute – Attribute
- Returns:
Boolean value that is aiming to check if the event attribute is in each trace
- Return type:
boolean
- pm4py.statistics.attributes.log.select.verify_if_trace_attribute_is_in_each_trace(log: EventLog, attribute: str) bool[source]#
Verify if the trace attribute is in each trace
- Parameters:
log – Log
attribute – Attribute
- Returns:
Boolean value that is aiming to check if the trace attribute is in each trace
- Return type:
boolean