$npx skillfedfor your agent

scikit-survival

Survival analysis built on top of scikit-learn

With conditionsPyPI Software DevelopmentReleased Jul 2026280.1K downloads / moGPL-3.0-or-laterPlatform wheel

Decision gist · record as of 2026-08-14

platform wheels — scikit_survival-0.28.0-cp311-cp311-macosx_10_13_x86_64.whl · scikit_survival-0.28.0-cp311-cp311-macosx_11_0_arm64.whl · scikit_survival-0.28.0-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
v0.28.0 · released 2026-07-05 · Python >=3.11 · 9 runtime deps: ecos, joblib, narwhals, numexpr, numpy, osqp, pandas, scipy

Yes, if you need survival analysis and accept GPL-3.0-or-later copyleft licensing. The package is actively maintained, well-integrated with scikit-learn, and handles the statistical complexities of censored data. Medium install friction (compiled dependencies, version constraints) is manageable on standard platforms. Not suitable for proprietary software without GPL compliance review.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires C/C++ compiler and numpy 2.0.0 or later, pandas 2.2.0 or later, scikit-learn 1.9, narwhals 2.0.1 or later.
  • Medium install friction due to compiled dependencies (C/C++ compiler required) and multiple numerical libraries.
  • Active maintenance with a release 40 days ago; supports current Python versions (3.11–3.14) with prebuilt wheels across major platforms.

License · maintenance · safety

GPL-3.0-or-later (copyleft) — GPL-3.0-or-later (copyleft): any derivative work or distribution must also be open-source under a compatible license. Acceptable for research and open-source projects; requires review before use in proprietary software.

last release 2026-07-05 (40 days) · last repo commit 2026-08-14 · 1,316 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 280,054 downloads/mo, #8,115 on PyPI

Verify before relying

pip install scikit-survival

import numpy
import pandas
from scikit-survival import linear_model

model = linear_model.CoxPHFitter()
model.fit(X, y)
  • Specific survival models available (e.g., Cox proportional hazards, Kaplan-Meier, random survival forests).
  • Whether the package provides confidence intervals or uncertainty quantification for survival predictions.
  • Support for competing risks or multi-state survival models beyond standard right-censored data.
  • Performance characteristics on large datasets or real-time prediction scenarios.
Same gist for agents: .md · .json

What it is and what it does

scikit-survival is a Python library for survival analysis—modeling the time until an event occurs when some observations are censored (only partially observed). Unlike standard machine learning, survival analysis must account for the fact that some training records contain incomplete event information, such as patients in a clinical study who remain event-free at the end of monitoring. The library builds on scikit-learn, allowing you to use familiar preprocessing, cross-validation, and model-selection workflows while fitting survival-specific models that handle this censoring.

The package requires modern Python (3.11 or later) and several numerical dependencies including numpy, scipy, pandas, and scikit-learn, plus optimization libraries ecos and osqp. Installation is straightforward on major platforms via conda-forge or pip, though a C/C++ compiler is needed for the compiled components.

Use it for

  • Clinical trials: predict time to patient recovery or adverse event while accounting for patients lost to follow-up.
  • Equipment reliability: model time-to-failure for machinery or components with incomplete failure records.
  • Customer churn: estimate time until customer departure when some customers remain active at study end.
  • Employee retention: analyze time-to-resignation with censored records for still-employed staff.
  • Loan default: predict time to default in credit portfolios where some loans mature without default.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you need survival analysis and accept GPL-3.0-or-later copyleft licensing.

The package is actively maintained, well-integrated with scikit-learn, and handles the statistical complexities of censored data. Medium install friction (compiled dependencies, version constraints) is manageable on standard platforms. Not suitable for proprietary software without GPL compliance review.

Install

scikit-survival on PyPI

Before you install

Medium install friction due to compiled dependencies (C/C++ compiler required) and multiple numerical libraries. Active maintenance with a release 40 days ago; supports current Python versions (3.11–3.14) with prebuilt wheels across major platforms.

Requires C/C++ compiler and numpy 2.0.0 or later, pandas 2.2.0 or later, scikit-learn 1.9, narwhals 2.0.1 or later.

License in practice

GPL-3.0-or-later (copyleft): any derivative work or distribution must also be open-source under a compatible license. Acceptable for research and open-source projects; requires review before use in proprietary software.

Quickstart

pip install scikit-survival

import numpy
import pandas
from scikit-survival import linear_model

model = linear_model.CoxPHFitter()
model.fit(X, y)

Verify before relying

  • Specific survival models available (e.g., Cox proportional hazards, Kaplan-Meier, random survival forests).
  • Whether the package provides confidence intervals or uncertainty quantification for survival predictions.
  • Support for competing risks or multi-state survival models beyond standard right-censored data.
  • Performance characteristics on large datasets or real-time prediction scenarios.

Package facts

LicenseGPL-3.0-or-later copyleft
Python supportSupports the current Python release >=3.11
Install frictionMedium. Platform-specific wheel
Runtime dependencies
9 packages
ecosjoblibnarwhalsnumexprnumpyosqppandasscipyscikit-learn
MaintenanceActively maintained 40 days since the last release
Last repo commit
First released
Downloads280,054 / month, #8,115 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 4 - BetaIntended Audience :: DevelopersIntended Audience :: Science/ResearchOperating System :: MacOSOperating System :: Microsoft :: WindowsOperating System :: POSIXProgramming Language :: C++Programming Language :: CythonProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Scientific/EngineeringTopic :: Software Development

Evidence: scikit_survival-0.28.0-cp311-cp311-macosx_10_13_x86_64.whl; scikit_survival-0.28.0-cp311-cp311-macosx_11_0_arm64.whl; scikit_survival-0.28.0-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl; scikit_survival-0.28.0-cp311-cp311-win_amd64.whl; scikit_survival-0.28.0-cp312-cp312-macosx_10_13_x86_64.whl; scikit_survival-0.28.0-cp312-cp312-macosx_11_0_arm64.whl; scikit_survival-0.28.0-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl; scikit_survival-0.28.0-cp312-cp312-win_amd64.whl; scikit_survival-0.28.0-cp313-cp313-macosx_10_13_x86_64.whl; scikit_survival-0.28.0-cp313-cp313-macosx_11_0_arm64.whl; scikit_survival-0.28.0-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl; scikit_survival-0.28.0-cp313-cp313-win_amd64.whl; scikit_survival-0.28.0-cp314-cp314-macosx_10_15_x86_64.whl; scikit_survival-0.28.0-cp314-cp314-macosx_11_0_arm64.whl; scikit_survival-0.28.0-cp314-cp314-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl; scikit_survival-0.28.0-cp314-cp314-win_amd64.whl

Tags

Capabilities
survival analysis pythontime-to-event modelingcensored data analysisreliability analysis machine learningscikit-learn survival modelsright censoring predictionevent time prediction
Topics
survival-analysistime-to-eventcensored-data

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “survival analysis python”

  • scikit-survivalscikit-survival provides survival analysis models that handle…
  • lifelineslifelines implements survival analysis methods—Kaplan-Meier,…
  • reliabilityReliability engineering and survival analysis library that fits…

Give your agent the search over MCP, or paste the wish link into any chat.

More Software Development packages

typing-extensions Worth it
PyPI · Software Development · released Jul 2026

Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.

PSF-2.0pure Python · 3.9+
1.9Bdownloads / mo
numpy Worth it
PyPI · Software Development · released Aug 2026

NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.

BSD-3-Clause AND 0BSD AND MIT AND Zlib AND CC0-1.0compiled wheel · 3.12+
1.1Bdownloads / mo
fastapi Worth it
PyPI · Software Development · released Jul 2026

FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.

MITpure Python · 3.10+
568.6Mdownloads / mo
annotated-doc With conditions
PyPI · Software Development · released Jul 2026

Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.

MITpure Python · 3.9+
456.2Mdownloads / mo
typer Worth it
PyPI · Software Development · released Aug 2026

Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.

Install it if you are building CLIs in Python.

MITpure Python · 3.10+
369.3Mdownloads / mo
distlib With conditions
PyPI · Software Development · released Jun 2026

Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.

permissive licensepure Python
323.3Mdownloads / mo

See also lifelines · reliability · Lifetimes · scikit-learn · scikit-network · statsmodels · forestci · benchpots · causallib · imbalanced-learn