Example prediction code for R for the PhysioNet/CinC Challenge 2019
This prediction code uses two scripts:
get_sepsis_score.Rmakes predictions on clinical time-series data. Add your prediction code to the
get_sepsis_scorefunction. To reduce your code's run time, add any code to the
load_sepsis_modelfunction that you only need to run once, such as loading weights for your model.
get_sepsis_scoremany times. It also performs all file input and output. Do not edit this script -- or we will be unable to evaluate your submission.
Check the code in these files for the input and output formats for the
You can run this prediction code by running
Rscript driver.R input_directory output_directory
input_directory is a directory for input data files and
output_directory is a directory for output prediction files. The PhysioNet/CinC 2019 webpage provides a training database with data files and a description of the contents and structure of these files.
See the PhysioNet/CinC 2019 webpage for more details, including instructions for the other files in this repository.