Function extract_event_features

Source
pub fn extract_event_features(
    timestamps: &[i64],
) -> Result<EventFeatures, PointProcessError>
Expand description

Extract temporal point process features from a sequence of timestamps.

Timestamps should be sorted in ascending order. Units are arbitrary but consistent (seconds, days, etc.).

§Arguments

  • timestamps - Sorted event timestamps (at least 3 for meaningful features).

§Returns

EventFeatures struct with all computed features.