This prediction code uses three scripts:
get_sepsis_score.m
makes predictions on clinical time-series data. Add your prediction code to theget_sepsis_score
function.load_sepsis_model.m
loads model weights, etc. for making predictions. To reduce your code's run time, add any code to theload_sepsis_model
function that you only need to run once, such as loading weights for your model.driver.m
callsload_sepsis_model
once andget_sepsis_score
many 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 load_sepsis_model
and get_sepsis_score
functions.
You can run this prediction code by starting MATLAB and running
driver(input_directory, output_directory)
where 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 webpage for more details, including instructions for the other files in this repository.