scikit-survival

Model censored time-to-event data with survival analysis in Python.

Updated May 10, 2026
One-click install
npx skills add https://github.com/Imad-Oute/ResearchForge --skill scikit-survival-imad-oute
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: scikit-survival
Source: https://github.com/Imad-Oute/ResearchForge/tree/main/OpenSource-Projects/claude-scientific-skills/scientific-skills/scikit-survival
Command: npx skills add https://github.com/Imad-Oute/ResearchForge --skill scikit-survival-imad-oute

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires scikit-learn, numpy, pandas, and includes scripts (resource) and references (resource) components.

What problem does it solve?

Scikit-survival provides specialized tools to perform survival analysis tasks that account for censored data, enabling precise modeling of time-to-event relationships.

Core Features & Use Cases

  • Modeling Survival Data: Fit Cox proportional hazards, ensemble, and support vector machine models for censored datasets.
  • Handling Censored Data: Create survival outcomes from raw data, preprocess features, and evaluate model discrimination and calibration.
  • Use Case: A researcher analyzes cancer patient datasets to predict progression times, compare models, and evaluate their performance across different censoring levels.

Quick Start

Load your dataset, preprocess features, and fit a Cox model or ensemble to predict survival times and evaluate with concordance or Brier scores.

Frequently Asked Questions about scikit-survival

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I model censored time-to-event data in Python?

You model censored time-to-event data by fitting Cox proportional hazards, ensemble, or support vector machine models, enabling precise prediction of survival times for medical research or engineering reliability datasets.

What is the best way to handle censored data for survival analysis?

The best way to handle censored data for survival analysis is to create specific survival outcomes from your raw datasets, preprocess features, and apply models designed to account for right-censored time-to-event relationships.

How do I evaluate survival model performance using scikit-learn and pandas?

You evaluate survival model performance by calculating concordance and Brier scores to measure discrimination and calibration across different censoring levels, using your preprocessed scikit-learn, numpy, and pandas datasets.

Can I use ensemble methods on censored datasets for medical research?

Yes, you can use ensemble methods on censored datasets for medical research. The toolkit supports fitting ensemble models alongside Cox models to analyze patient progression times and handle varied censoring levels.

Do I need scikit-learn, numpy, and pandas installed to perform survival analysis?

Yes, you need scikit-learn, numpy, and pandas installed, as the survival analysis workflows depend on these libraries for compatible data preprocessing, feature manipulation, and model fitting.