Ex4pmEngine.Cognition.Survival (ex4pm v26.9.9)

Copy Markdown View Source

Survival Analysis and Remaining Useful Life (RUL) estimation for OCEL process cases. Implements non-parametric Kaplan-Meier survival curves and cumulative hazard estimation.

Summary

Functions

Estimates the survival function S(t) = P(T > t) and median remaining time from observed case durations. durations_ms is a list of completed case durations in milliseconds.

Predicts remaining time for an in-flight case given its elapsed duration so far.

Functions

fit_kaplan_meier(durations_ms)

Estimates the survival function S(t) = P(T > t) and median remaining time from observed case durations. durations_ms is a list of completed case durations in milliseconds.

predict_remaining_time(survival_model, elapsed_ms)

Predicts remaining time for an in-flight case given its elapsed duration so far.