Giter Site home page Giter Site logo

drizzentic / clinical-prediction-ml-models Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ampath/clinical-prediction-ml-models

0.0 0.0 0.0 137.38 MB

The main objective of this project is to predict clinical outcomes using EHR Data and modern ML/AI

Shell 0.31% R 98.67% CSS 0.05% Dockerfile 0.98%

clinical-prediction-ml-models's Introduction

clinical-prediction-ml-models

The main objective of this project is to predict clinical outcomes using EHR Data and modern ML/AI

  • IIT-Prediction - Start Here

Docker Image

To build the Docker image, first create a config.yml using the file in the docker-resources folder called config.example.yml as a guide. Then build the Docker image:

docker build --tag ampath-iit-prediction-model-<model_version>:<version> .

And run it locally:

docker run --rm -p 8000:8000 -v "$(pwd)/docker-resources/config.yml:/app/config.yml:ro" ampath-iit-prediction-model-<model_version>:<version>

The API

The Docker container produced here provides an API to run the models. The API endpoint is paired with a corresponding SQL script that describes how to extract the predictors for the model from the live database.

IIT

Cohorts

For interruption in treatment, we treat patients as belonging to week-long cohorts, running from Monday to Sunday (for whatever reason, there are a small number of appointments scheduled on Saturdays and Sundays). Since appoinment date is not a factor in our prediction models, these cohorts are primarily logical groups.

The idea of these cohorts is that the bulk of patients for a given week are gathered and scored on the Sunday the week before the week containing their appointment. For example, a patient with an appointment on June 26th, 2023 should have their results score on June 18th, 2023. Since patient appointments can be added on a rolling basis, we continue to update the week's appointments every day.

Patient's whose appointment has already been seen are not re-scored, as the overall risk score should not change without an intervening appointment.

This also means that we do not drop patients out of cohorts if their appointment date is moved to a different week. This should be discussed.

clinical-prediction-ml-models's People

Contributors

ibacher avatar kimaina avatar corneliouzbett avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.