BeCuriousS / python-example-2019

Python example prediction code for the PhysioNet/CinC Challenge 2019

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

Contents

This prediction code uses two scripts:

  • get_sepsis_score.py 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.py 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 installing the NumPy package and running

python driver.py 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

Python example prediction code for the PhysioNet/CinC Challenge 2019

License:BSD 2-Clause "Simplified" License


Languages

Language:Python 91.4%Language:Dockerfile 8.6%