Related Experiment Video
Updated: Jul 9, 2025

Competing-Risk Nomogram for Predicting Cancer-Specific Survival in Multiple Primary Colorectal Cancer Patients after Surgery
Published on: September 27, 2024
survex: an R package for explaining machine learning survival models
Mikołaj Spytek1, Mateusz Krzyziński1, Sophie Hanna Langbein2,3
1MI2.AI, Faculty of Mathematics and Information Science, Warsaw University of Technology, Warsaw, Poland.
Summary:
Due to their flexibility and superior performance, machine learning models frequently complement and outperform traditional statistical survival models. However, their widespread adoption is hindered by a lack of user-friendly tools to explain their internal operations and prediction rationales. To tackle this issue, we introduce the survex R package, which provides a cohesive framework for explaining any survival model by applying explainable artificial intelligence techniques. The capabilities of the proposed software encompass understanding and diagnosing survival models, which can lead to their improvement. By revealing insights into the decision-making process, such as variable effects and importances, survex enables the assessment of model reliability and the detection of biases. Thus, transparency and responsibility may be promoted in sensitive areas, such as biomedical research and healthcare applications.
Availability And Implementation:
survex is available under the GPL3 public license at https://github.com/modeloriented/survex and on CRAN with documentation available at https://modeloriented.github.io/survex.
Related Concept Videos
Introduction To Survival Analysis
The primary goal of survival analysis is to estimate survival time—the time...
Assumptions of Survival Analysis
Comparing the Survival Analysis of Two or More Groups
Parametric Survival Analysis: Weibull and Exponential Methods
Weibull Distribution
The Weibull distribution is a flexible model used in parametric survival analysis. It can handle both increasing and decreasing hazard rates, depending on its shape parameter...
Cancer Survival Analysis
Survival Curves
The Kaplan-Meier estimator is the most common method for constructing survival curves. This...

