Skip to main content
Rust4PM

event_timestamp_histogram

process_mining::analysis::case_centric::event_timestamp_histogram

Functions in this Module(1)

event_timestamp_histogram

analysis::case_centric::event_timestamp_histogramSource
Aggregate event timestamps into a fixed number of bins, grouped by activity.
Events without a valid timestamp are skipped; events without a recognized
activity are counted under "UNKNOWN". With num_bins set to 0, there are no bins.
EventLogrequired
EventTimestampOptionsOptions for [`event_timestamp_histogram`].
import r4pm

# Also: .xes.gz, .json
log = r4pm.import_item('EventLog', 'log.xes')
res = r4pm.bindings.event_timestamp_histogram(log)

process_mining/src/analysis/case_centric/event_timestamp_histogram.rs:58