Survival analysis algorithms.
(X, time, event) rather than (X, y), with event marking which time values are observed events and which are censoring times.RandomSurvivalForest.
coefficients_) without specifying the baseline hazard, with optional L2 regularisation.
concordance_index: Harrell's C-index, the share of comparable pairs the
integrated_brier_score: IPCW-weighted Brier score integrated over a grid
logrank_test: two-sample log-rank test of whether two survival curves
Survival documents, and every model here follows it.Cox proportional_hazards model with partial-likelihood estimation.
Non-parametric survival_curve estimators (Kaplan-Meier and Nelson-Aalen).
Evaluation metrics for survival models (hand-rolled, NumPy only).
Random survival forest: an ensemble of censoring-aware survival trees.