Code Monkey home page Code Monkey logo

levrex / diagnosisextraction_ml Goto Github PK

View Code? Open in Web Editor NEW
11.0 3.0 6.0 32.09 MB

Pipeline for building Machine Learning Classifiers for the diagnosis of EHR text-data. We used this pipeline for our study, published here: https://doi.org/10.2196/23930.

License: MIT License

Jupyter Notebook 88.44% Python 11.52% Shell 0.05%
diagnosis extraction natural-language-processing machine-learning clinical-data machine-learning-algorithms big-data classification-algorithm ehr-data electronic-health-records text-processing notebook-diagnosis emr text-classification python

diagnosisextraction_ml's Introduction

Python package Python 3.6 Python 3.7 GitHub stars GitHub forks GitHub issues License: MIT

DiagnosisExtraction_ML

Pipeline for building Machine Learning Classifiers tasked with extracting the diagnosis based on EHR data (Natural Language / Narrative data). This repository works with Python 3.6.

Note: we used this pipeline for our study, published here: https://doi.org/10.2196/23930. We identified Rheumatoid Arthritis patients in EHR-data from two different centers to examine the universal applicability.

Installation

Windows systems:

Prerequisite: Install Anaconda with python version 3.6+. This additionally installs the Anaconda Prompt, which you can find in the windows search bar. Use this Anaconda prompt to run the commands mentioned below.

Linux / Windows (dev) systems:

Prerequisite: conda environment (with jupyter notebook). Use the terminal to run the commands mentioned below.

Install Jupyter Notebook:

$ conda install -c anaconda notebook

Importing required modules

Before running, please install the dependencies.

Option 1: create custom kernel with conda (Bash script)

prerequisite: conda3

$ bash build_kernel.sh

Option 2: pip

prerequisite: pip

$ pip install -r requirements.txt

Interactive demo

Our tool is available online as an interactive kaggle session: Click here for Kaggle Session

How to start

Start a notebook session in the terminal

$ notebook

Which will start a notebook session in the browser from which you can open the pipeline file: Notebook Diagnosis

Pipeline

alt text Pipeline displaying the general workflow, where the green sections are performed automatically and the blue parts require manual evaluation. A simple annotation (binary Yes or No) will suffice, thus reducing the mental load of the physician.

Citation

If you were to use this pipeline, please cite our paper:

Maarseveen T, Meinderink T, Reinders M, Knitza J, Huizinga T, Kleyer A, Simon D, van den Akker E, Knevel R Machine Learning Electronic Health Record Identification of Patients with Rheumatoid Arthritis: Algorithm Pipeline Development and Validation Study JMIR Med Inform 2020;8(11):e23930 URL: https://medinform.jmir.org/2020/11/e23930 DOI: 10.2196/23930 PMID: 33252349

Contact

If you experience difficulties with implementing the pipeline or if you have any other questions feel free to send me an e-mail. You can contact me on: [email protected]

diagnosisextraction_ml's People

Contributors

levrex avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

diagnosisextraction_ml's Issues

Add Source scripts

Add Timo's scripts to assist users who cannot / are not allowed to install anaconda / jupyter

(Maybe also make it publicly available with google collab ?)

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.