scikit-survival

Fits Cox models and other survival analysis tools to censored time-to-event data.

3|Updated Apr 17, 2026
One-click install
npx skills add https://github.com/RamanEbrahimi/raman-marketplace --skill scikit-survival-ramanebrahimi
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: scikit-survival
Source: https://github.com/RamanEbrahimi/raman-marketplace/tree/main/plugins/agentic-research/skills/scientific-skills/scikit-survival
Command: npx skills add https://github.com/RamanEbrahimi/raman-marketplace --skill scikit-survival-ramanebrahimi

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill provides comprehensive tools for survival analysis and time-to-event modeling in Python, helping users handle censored data and perform advanced statistical analyses.

Core Features & Use Cases

  • Survival Analysis: Offers tools for survival analysis, including Cox proportional hazards models, random survival forests, and survival SVMs.
  • Time-to-Event Analysis: Enables modeling and analysis of time-to-event data, ideal for studies with censored data.
  • Use Case: Ideal for researchers and analysts working with medical, biological, and other datasets where survival analysis is essential.

Quick Start

Use the scikit-survival skill to fit a Cox proportional hazards model to survival data.

Frequently Asked Questions about scikit-survival

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

FAQPage Schema
How do I perform survival analysis on censored data in Python?

Survival analysis on censored data is performed using Python tools that fit Cox proportional hazards models, random survival forests, and survival SVMs to time-to-event datasets. This Skill provides the necessary functions to model and analyze censored research data.

Can I use scikit-learn for time-to-event modeling with this Skill?

Yes, time-to-event modeling requires scikit-learn alongside scikit-survival and numpy as dependencies. The Skill integrates these frameworks to handle censored data and apply ensemble methods, Cox models, and SVMs for research analysis.

What is the best way to fit a Cox proportional hazards model in Python?

Fitting a Cox proportional hazards model is best handled by the scikit-survival library, which provides Python-based tools specifically designed for survival analysis. The Skill offers a quick start approach to apply this model to your time-to-event data.

Does random survival forest work for medical and biological research datasets?

Random survival forest is supported and applies directly to medical, biological, and other research fields requiring survival analysis. It handles censored data effectively, making it ideal for complex time-to-event studies in these domains.

When do I need survival SVMs instead of Cox models for time-to-event analysis?

Survival SVMs offer an alternative machine learning approach to Cox models for time-to-event analysis when handling censored data. The Skill includes both methods, allowing researchers to choose based on specific dataset characteristics and modeling requirements.