Skip to main content

AlterLab scikit Survival

Skill Verified Active

Part of the AlterLab Academic Skills suite. Comprehensive toolkit for survival analysis and time-to-event modeling in Python using scikit-survival. Use this skill when working with censored survival data, performing time-to-event analysis, fitting Cox models, Random Survival Forests, Gradient Boosting models, or Survival SVMs, evaluating survival predictions with concordance index or Brier score, handling competing risks, or implementing any survival analysis workflow with the scikit-survival library.

Purpose

To enable researchers and data scientists to perform sophisticated survival analysis and time-to-event modeling with censored data using Python's scikit-survival library.

Features

  • Fit Cox proportional hazards and penalized Cox models
  • Implement ensemble methods like Random Survival Forests and Gradient Boosting
  • Utilize Survival Support Vector Machines (SVMs)
  • Perform comprehensive model evaluation (C-index, AUC, Brier Score)
  • Handle competing risks analysis
  • Prepare and preprocess survival data

Use Cases

  • Analyzing time-to-event data in clinical research, biostatistics, or reliability engineering
  • Modeling patient survival with censored data
  • Identifying significant predictors of event occurrence
  • Evaluating and comparing different survival models
  • Performing high-dimensional survival analysis with feature selection

Non-Goals

  • Performing standard classification or regression analysis
  • Handling non-censored time-to-event data exclusively
  • Providing interactive GUI or web-based tools
  • Replacing basic data manipulation tasks outside of survival analysis context

Practices

  • Survival Analysis
  • Time-to-Event Modeling
  • Statistical Modeling
  • Data Preprocessing

Prerequisites

  • Python environment
  • scikit-survival library
  • scikit-learn library

Execution

  • info:Pinned dependenciesWhile standard Python libraries are used, there is no explicit dependency pinning or lockfile mechanism detailed within the skill's context, which could lead to versioning issues.

Installation

npx skills add AlterLab-IEU/AlterLab-Academic-Skills

Runs the Vercel skills CLI (skills.sh) via npx — needs Node.js locally and at least one installed skills-compatible agent (Claude Code, Cursor, Codex, …). Assumes the repo follows the agentskills.io format.

Quality Score

Verified
97 /100
Analyzed about 22 hours ago

Trust Signals

Last commit17 days ago
Stars15
LicenseGPL-3.0-or-later
Status
View Source

Similar Extensions

SHAP Model Interpretability

100

Model interpretability and explainability using SHAP (SHapley Additive exPlanations). Use this skill when explaining machine learning model predictions, computing feature importance, generating SHAP plots (waterfall, beeswarm, bar, scatter, force, heatmap), debugging models, analyzing model bias or fairness, comparing models, or implementing explainable AI. Works with tree-based models (XGBoost, LightGBM, Random Forest), deep learning (TensorFlow, PyTorch), linear models, and any black-box model.

Skill
K-Dense-AI

TimesFM Forecasting

100

Zero-shot time series forecasting with Google's TimesFM foundation model. Use for any univariate time series (sales, sensors, energy, vitals, weather) without training a custom model. Supports CSV/DataFrame/array inputs with point forecasts and prediction intervals. Includes a preflight system checker script to verify RAM/GPU before first use.

Skill
K-Dense-AI

Fit Drift Diffusion Model

100

Fit cognitive drift-diffusion models (Ratcliff DDM) to reaction time and accuracy data with parameter estimation (drift rate, boundary separation, non-decision time), model comparison, and parameter recovery validation. Use when modeling binary decision-making with reaction time data, estimating cognitive parameters from experimental data, comparing sequential sampling model variants, or decomposing speed-accuracy tradeoff effects into latent cognitive components.

Skill
pjt222

Molfeat

99

Molecular featurization for ML (100+ featurizers). ECFP, MACCS, descriptors, pretrained models (ChemBERTa), convert SMILES to features, for QSAR and molecular ML.

Skill
K-Dense-AI

Alterlab Statistical Analysis

98

Part of the AlterLab Academic Skills suite. Guided statistical analysis with test selection and reporting. Use when you need help choosing appropriate tests for your data, assumption checking, power analysis, and APA-formatted results. Best for academic research reporting, test selection guidance. For implementing specific models programmatically use statsmodels.

Skill
AlterLab-IEU

Alterlab Pymc

98

Part of the AlterLab Academic Skills suite. Bayesian modeling with PyMC. Build hierarchical models, MCMC (NUTS), variational inference, LOO/WAIC comparison, posterior checks, for probabilistic programming and inference.

Skill
AlterLab-IEU

© 2025 SkillRepo · Find the right skill, skip the noise.