What problem does it solve?
scikit-survival helps you analyze time-to-event outcomes while correctly handling censored data, so you can build and evaluate models without bias from missing event information.
Core Features & Use Cases
- Survival modeling with censoring support: fit Cox models, penalized Cox, accelerated failure time (IPCRidge), Random Survival Forests, Gradient Boosting, and Survival SVMs for right-censored data.
- Survival outcome construction: create structured targets using Surv.from_arrays or Surv.from_dataframe.
- Evaluation that matches the problem: compute concordance metrics (Harrell’s and Uno’s C-index), time-dependent AUC, and Brier/Integrated Brier scores.
- Competing risks workflows: estimate cumulative incidence functions and compare/fit cause-specific analyses.
- Reference-ready guidance: includes dedicated reference docs for Cox models, ensembles, evaluation metrics, data handling, SVMs, and competing risks.
Use case example: You have a clinical dataset with censored follow-up and want to estimate how covariates affect event time, then compare models using Uno’s C-index and Integrated Brier score.
Quick Start
Use the scikit-survival skill to build a Cox proportional hazards model on your right-censored dataset and report Uno’s C-index and Integrated Brier score.