Skip to content

zhimeir/adaptive_conformal_survival_paper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

This repository contains the code to reproduce the numerical results in Section 4 and Section 5 of the paper: Conformalized Survival Analysis with Adaptive Cutoffs.

Folders

  • simulations/ contains the code for the simulation results in Section 4.
  • real_data/ contains the code and data for the real data example in Section 5.
  • utils/ contains the helper functions.
  • results/ stores the results.

Usage

Simulations

The script run_sim.R implements one run of the experiment. The users can specify the random seed when running the script. For example, to implement one run of the experiment in Section 4 with random seed 1, run the following command in your terminal:

cd simulations 
Rscript run_sim.R 1

Real data

The script pings_day_14.R implements the real data example in Section 5. To reproduce the results, run the following code in your terminal:

cd real_data
Rscript pings_day_14.R

About

This repository contains the code to reproduce the simulation results from the paper: Conformalized Survival Analysis with Adaptive Cutoffs.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages