scikit-survival
Build Survival Models with scikit-survival
Censored time-to-event data requires specialized preparation, modeling, and evaluation. This skill guides practical scikit-survival workflows from outcome encoding through model comparison.
Install with my Agent
Copy this request to your Agent. It includes the canonical Skill page and manifest.
Review the Skillstore skill "scikit-survival" from https://skillstore.io/skills/davila7-scikit-survival.md and its manifest at https://skillstore.io/api/skills/davila7-scikit-survival/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.Your Agent should still show its plan and request any confirmation required by the security policy.
Agent-readable resources
Use these links when an AI agent, crawler, or script needs clean context instead of reading the full page.
Test it
Using "scikit-survival". Which model should I use for 800 records, 25 features, moderate censoring, and interpretable effects?
Expected outcome:
Start with a Cox proportional hazards model. Check proportional hazards, preprocess features consistently, and compare performance with a regularized Cox alternative.
Using "scikit-survival". How should I evaluate predictions when 55 percent of observations are censored?
Expected outcome:
- Use Uno's concordance index for ranking performance.
- Add time-dependent AUC at clinically meaningful horizons.
- Report integrated Brier score to assess calibration and discrimination.
Using "scikit-survival". My study records relapse and death before relapse. How should I analyze relapse probability?
Expected outcome:
Treat death before relapse as a competing event. Estimate cumulative incidence for relapse and avoid interpreting ordinary Kaplan-Meier estimates as event probability.
Security Audit
SafeAll 90 static findings are false positives caused by Markdown syntax, ordinary Python imports, parameter-grid terminology, the CIF acronym, and documentation links. The reviewed files contain educational scikit-survival guidance without command execution, dynamic code construction, reconnaissance, prompt injection, or suspicious network behavior.
Risk Factors
โก Contains scripts (6)
โ๏ธ External commands (50)
๐ Network access (3)
Share & cite this report
Share the versioned assessment report, neutral badge, embed card, and citations. Skillstore reports evidence without deciding whether this Skill is safe.
Copy report link
https://skillstore.io/skills/davila7-scikit-survival/audits/9?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportMarkdown badge
[](https://skillstore.io/skills/davila7-scikit-survival?utm_source=security_passport_badge)HTML badge
<a href="https://skillstore.io/skills/davila7-scikit-survival?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/davila7-scikit-survival/security.svg" alt="Skillstore security assessment" loading="lazy"></a>Embed card
<iframe src="https://skillstore.io/embed/skills/davila7-scikit-survival.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>Academic citations (APA ยท BibTeX ยท CFF)
APA citation
davila7. (2026). scikit-survival security audit report (audit version 9) [Author version unspecified]. Skillstore. https://skillstore.io/skills/davila7-scikit-survival/audits/9BibTeX citation
@techreport{davila7-davila7-scikit-survival-2026,
author = {davila7},
title = {scikit-survival security audit report (audit version 9)},
institution = {Skillstore},
year = {2026},
number = {9},
url = {https://skillstore.io/skills/davila7-scikit-survival/audits/9},
note = {Author version unspecified}
}CITATION.cff
cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "scikit-survival security audit report (audit version 9)"
version: "unspecified"
type: report
authors:
- name: "davila7"
date-released: "2026-07-23"
url: "https://skillstore.io/skills/davila7-scikit-survival/audits/9"
identifiers:
- type: other
value: "skillstore:davila7-scikit-survival:audit:9"
description: "Skillstore immutable audit report identifier"
Compare variants
2 installable variantsEach author remains a separate installable skill. The recommended variant is ranked by Skillstore evidence.
Why this variant is first
davila7-scikit-survival
2026-08-21
k-dense-ai-scikit-survival
2026-08-21
Skillstore Score
Why this score Evidence Confidence: HighWhat You Can Build
Analyze Clinical Follow-up Data
Prepare censored outcomes, fit interpretable Cox models, and evaluate discrimination under censoring.
Compare Survival Algorithms
Benchmark Cox, forest, boosting, and SVM approaches with suitable survival metrics.
Teach Time-to-Event Modeling
Create structured examples covering preprocessing, model assumptions, validation, and competing risks.
Try These Prompts
Recommend a scikit-survival model for my dataset. I have [rows], [features], [event rate], and [censoring rate]. Explain the choice.
Design a preprocessing workflow for [dataset description]. Include outcome encoding, missing values, categorical features, scaling, splitting, and validation checks.
Plan a fair comparison of [model list] using my training and test data. Select censoring-aware metrics and explain each metric.
Design an advanced competing-risks analysis for [event types]. Address cumulative incidence, cause-specific modeling, validation, assumptions, and interpretation limits.
Best Practices
- Validate event indicators, time values, event counts, and censoring rates before fitting models.
- Keep preprocessing inside cross-validation and apply training transformations unchanged to test data.
- Report multiple censoring-aware metrics with assumptions, time horizons, and uncertainty.
Avoid
- Do not treat competing events as ordinary censoring when estimating event-specific probabilities.
- Do not select models using the test set or leak preprocessing across validation folds.
- Do not use Harrell's concordance index alone when censoring is high.
Frequently Asked Questions
What data format does scikit-survival expect?
Which model is best for interpretable effects?
When should I use a survival SVM?
How should I handle high censoring?
Does this skill provide medical advice?
Can this skill analyze competing risks?
Developer Details
Author
davila7License
MIT
Skillstore revision
r2
Version notice
The author did not declare a version.
Ref
c43861a65bb95efcae259cd161c9d6f4dc7eec6f
Maintenance freshness
7/24/2026
Usage
6 downloads ยท 221 views
File structure
๐ references/
๐ competing-risks.md
๐ cox-models.md
๐ data-handling.md
๐ ensemble-models.md
๐ svm-models.md
๐ SKILL.md