What problem does it solve?
scikit-survival helps you analyze time-to-event outcomes when part of your data is censored, so you can model risk and event timing without biasing results.
Core Features & Use Cases
- Censored survival modeling: Fit Cox proportional hazards (including penalized Cox), accelerated failure time (AFT) via IPCW Ridge, and modern machine-learning survival estimators.
- Ensemble and SVM approaches: Train Random Survival Forests, Gradient Boosting for survival, and Survival SVM variants for discrimination tasks.
- Correct evaluation with censoring: Compute Uno/Harrell concordance indices, time-dependent AUC, and Brier/Integrated Brier scores; support competing-risks cumulative incidence analysis.
- Typical use: You have patient follow-up data where some patients are lost before events occur; you want to predict risk for relapse or death and report discrimination/calibration properly.
Quick Start
In your notebook, load your dataset, convert outcomes with sksurv.util.Surv, fit a CoxPHSurvivalAnalysis model, then evaluate it using concordance_index_ipcw.