alterlab-scikit-survival

Community

Survival analysis toolkit for Python

AuthorAlterLab-IEU
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Part of the AlterLab Academic Skills suite, this skill provides a comprehensive workflow for survival analysis in Python using scikit-survival, enabling researchers to work with censored data, time-to-event modeling, competing risks, and robust evaluation.

Core Features & Use Cases

  • Supports Cox proportional hazards models (CoxPHSurvivalAnalysis), penalized Cox (CoxnetSurvivalAnalysis), and IPCRidge.
  • Includes ensemble methods (RandomSurvivalForest, GradientBoostingSurvivalAnalysis, ExtraSurvivalTrees) and Survival SVMs (FastSurvivalSVM, FastKernelSurvivalSVM, HingeLossSurvivalSVM) for flexible modeling.
  • Facilitates data preprocessing, survival outcome creation with Surv, and competing risks analysis with CIFs, plus evaluation with concordance index and Brier score.
  • Real-world use: analyze censored studies, compare models, and predict risk or survival probabilities.

Quick Start

Load your dataset, prepare a Surv object, then fit a CoxPHSurvivalAnalysis model to obtain risk scores.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: alterlab-scikit-survival
Download link: https://github.com/AlterLab-IEU/AlterLab-Academic-Skills/archive/main.zip#alterlab-scikit-survival

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.