R version of survivalist: Probabilistic model-agnostic survival analysis using scikit-learn, xgboost, lightgbm (and conformal prediction)

[This article was first published on T. Moudiki's Webpage - R, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

This post is to be read in conjunction with https://thierrymoudiki.github.io/blog/2025/02/10/python/Benchmark-QRT-Cube and https://thierrymoudiki.github.io/blog/2024/12/15/python/agnostic-survival-analysis.

Survival analysis is a group of Statistical/Machine Learning (ML) methods for predicting the time until an event of interest occurs. Examples of events include:

  • death
  • failure
  • recovery
  • default
  • etc.

And the event of interest can be anything that has a duration:

  • the time until a machine breaks down
  • the time until a customer buys a product
  • the time until a patient dies
  • etc.

The event can be censored, meaning that it has’nt occurred for some subjects at the time of analysis.

In this post, I show how to use scikit-learn, xgboost, lightgbm in R, in conjuction with Python package survivalist for probabilistic survival analysis. The probabilistic part is based on conformal prediction and Bayesian inference, and graphics represent the out-of-sample ML survival function.

image-title-here

2025_02_12_model_agnostic_survival_R
To leave a comment for the author, please follow the link and comment on their blog: T. Moudiki's Webpage - R.

R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)