What problem does it solve?
scikit-survival provides Python tools to perform survival analysis on censored data, enabling time-to-event modeling with Cox, random survival forests, SVMs, and other advanced methods.
Core Features & Use Cases
- Fitting multiple model families for survival analysis on censored data (CoxPHSurvivalAnalysis, CoxnetSurvivalAnalysis, IPCRidge, RandomSurvivalForest, GradientBoostingSurvivalAnalysis, FastSurvivalSVM, FastKernelSurvivalSVM).
- Evaluating models with concordance index, Uno's C-index, time-dependent AUC, and Brier score, including training/test split and cross-validation workflows.
- Handling competing risks with cumulative incidence functions and cause-specific hazard modeling.
- Data loading, preprocessing, and integration with scikit-learn pipelines to streamline end-to-end workflows.
Quick Start
Install scikit-survival, load your data into a Surv object, fit a CoxPHSurvivalAnalysis or RandomSurvivalForest, and evaluate using concordance index or Brier score.