Skip to content

physionetchallenges/r-example-2019

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Example prediction code for R for the PhysioNet/CinC Challenge 2019

Contents

This prediction code uses two scripts:

  • get_sepsis_score.R makes predictions on clinical time-series data. Add your prediction code to the get_sepsis_score function. To reduce your code's run time, add any code to the load_sepsis_model function that you only need to run once, such as loading weights for your model.
  • driver.R calls load_sepsis_model once and get_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.

Use

You can run this prediction code by running

Rscript driver.R 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.

Details

See the PhysioNet/CinC 2019 webpage for more details, including instructions for the other files in this repository.

About

R example prediction code for the PhysioNet/CinC Challenge 2019

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published