[Paper Review] SurvSet: An open-source time-to-event dataset repository
SurvSet is an open-source, standardized repository of 76 time-to-event (T2E) datasets designed for benchmarking machine learning and statistical methods in survival analysis. It enables consistent preprocessing across diverse datasets—spanning biomedicine, engineering, and economics—via a unified format with standardized column naming and structure, accessible via Python (PyPI) and R (GitHub).
Time-to-event (T2E) analysis is a branch of statistics that models the duration of time it takes for an event to occur. Such events can include outcomes like death, unemployment, or product failure. Most modern machine learning (ML) algorithms, like decision trees and kernel methods, are supported for T2E modelling with data science software (python and R). To complement these developments, SurvSet is the first open-source T2E dataset repository designed for a rapid benchmarking of ML algorithms and statistical methods. The data in SurvSet have been consistently formatted so that a single preprocessing method will work for all datasets. SurvSet currently has 76 datasets which vary in dimensionality, time dependency, and background (the majority of which come from biomedicine). SurvSet is available on PyPI and can be installed with pip install SurvSet. R users can download the data directly from the corresponding git repository.
Motivation & Objective
- To address the lack of a centralized, standardized repository for time-to-event (T2E) datasets suitable for benchmarking ML and statistical survival models.
- To reduce the time and effort required for researchers to curate and preprocess T2E data by providing a consistent, machine-readable format across all datasets.
- To support rapid evaluation and comparison of survival models by ensuring all datasets follow the same structural schema, including event indicators, survival times, and feature labeling (numeric/factor).
- To facilitate reproducible research and algorithm development in survival analysis by providing open access to curated, real-world T2E datasets with documented sources.
- To support both Python and R users through pip installation and direct GitHub access, ensuring broad accessibility across data science platforms.
Proposed method
- The SurvSet repository uses a single class, `SurvLoader`, which provides a `load_dataset` method to programmatically retrieve datasets with consistent formatting.
- Datasets are stored as comma-separated files with a standardized column structure: `pid`, `event`, `time`, `time2` (if time-varying features), followed by `num_`-prefixed numeric features and `fac_`-prefixed categorical features.
- All datasets are preprocessed to ensure uniformity: event indicators are binary (1 = event occurred), survival times are non-negative, and features are labeled for automatic preprocessing (e.g., one-hot encoding for factors, normalization for numerics).
- The repository includes 76 datasets sourced from established R packages and public databases (e.g., GEO, Mayo Clinic, Duke Databank), with metadata and source references included.
- Time-varying features are handled by aggregating intervals to minimize data rows while preserving all feature change information, ensuring efficient modeling.
- The repository is version-controlled and accessible via PyPI (`pip install SurvSet`) and GitHub for R users, enabling seamless integration into ML workflows.
Experimental results
Research questions
- RQ1Can a single, consistent preprocessing pipeline be applied across diverse time-to-event datasets with varying dimensionality, background, and time dependency?
- RQ2How does the uniform structure of SurvSet datasets improve benchmarking efficiency for machine learning and statistical survival models?
- RQ3To what extent do existing survival models (e.g., regularized linear models) produce uniformly distributed concordance indices across a diverse set of real-world T2E datasets?
- RQ4Can SurvSet serve as a reliable and scalable benchmarking platform for new survival models in both biomedical and non-biomedical domains?
- RQ5How does the availability of standardized, open-source T2E data impact reproducibility and comparability in survival analysis research?
Key findings
- SurvSet provides 76 time-to-event datasets with consistent formatting, enabling a single preprocessing pipeline to be applied uniformly across all datasets.
- The repository supports both Python and R users, with installation via `pip install SurvSet` and direct access to data files via GitHub for R users.
- Datasets vary widely in dimensionality, including high-dimensional genomics datasets (e.g., gse1992, p ≫ n) and long-and-skinny datasets (e.g., hdfail, n ≫ p).
- An initial empirical evaluation shows that fitting a regularized linear model to each dataset yields a roughly uniform distribution of concordance indices, indicating diverse predictive performance across datasets.
- The standardized column structure—featuring `pid`, `event`, `time`, `time2`, `num_` features, and `fac_` features—enables automated data handling and model training.
- SurvSet is designed to support benchmarking of modern ML methods such as random forests, gradient boosting, kernel methods, and deep learning in survival modeling, with minimal data preparation overhead.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.