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.

Arguments
Import from .xes, .xes.gz, .json

Options for [`event_timestamp_histogram`].

AggregatedEventTimestamps

Aggregated event counts per timestamp bin, grouped by activity.

import r4pm

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