predicting length of stay using neural networks on mimic iii · 2017-11-29 · predicting length of...

20
Predicting Length Of Stay Using Neural Networks on MIMIC III New Orleans October 9 th 2017 1 Thanos Gentimis

Upload: others

Post on 12-Jul-2020

2 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Predicting Length Of Stay Using Neural Networks on MIMIC III · 2017-11-29 · Predicting Length Of Stay Using Neural Networks on MIMIC III New Orleans ... Age Gender ICU LOS SI Vitals

Predicting Length Of Stay Using Neural Networks on MIMIC III

New Orleans

October 9th 2017

1

Thanos Gentimis

Page 2: Predicting Length Of Stay Using Neural Networks on MIMIC III · 2017-11-29 · Predicting Length Of Stay Using Neural Networks on MIMIC III New Orleans ... Age Gender ICU LOS SI Vitals

Have you used machine learning recently?

*All images and logos belong to their respective owners and are used

for illustration purposes only

2

Page 3: Predicting Length Of Stay Using Neural Networks on MIMIC III · 2017-11-29 · Predicting Length Of Stay Using Neural Networks on MIMIC III New Orleans ... Age Gender ICU LOS SI Vitals

Machine Learning is Useful

• Healthcare: • AI assisted diagnoses (IBM Watson)

• Health Informatics

• Banking: • Fraud detection

• Risk analysis

• Safety: • Face recognition – intruder detection

• Spam email detection

3

Page 4: Predicting Length Of Stay Using Neural Networks on MIMIC III · 2017-11-29 · Predicting Length Of Stay Using Neural Networks on MIMIC III New Orleans ... Age Gender ICU LOS SI Vitals

Classic Research Approach

Subject Matter Expert

• Asks Question

• Provides Dataset

Analyst

• Prepares Data

• Designs Experiment

• Creates model

Team

• Answers Question

• Evaluates process

4

Page 5: Predicting Length Of Stay Using Neural Networks on MIMIC III · 2017-11-29 · Predicting Length Of Stay Using Neural Networks on MIMIC III New Orleans ... Age Gender ICU LOS SI Vitals

Machine Learning Approach

• Data Collection

• Data Coming in

Data Warehouse

• Clustering

• Trend Analysis

• Machine Learning

• Outlier Detection

Analyst • Explains Trends

• Evaluates Outliers

• Asks the right questions

Subject Matter Expert

5

Page 6: Predicting Length Of Stay Using Neural Networks on MIMIC III · 2017-11-29 · Predicting Length Of Stay Using Neural Networks on MIMIC III New Orleans ... Age Gender ICU LOS SI Vitals

Machine Learning Tools

• Neural Networks • Support Vector Machines

6

Page 7: Predicting Length Of Stay Using Neural Networks on MIMIC III · 2017-11-29 · Predicting Length Of Stay Using Neural Networks on MIMIC III New Orleans ... Age Gender ICU LOS SI Vitals

How I use Neural Networks

7

Machine Learning

Image Recognition

Sentiment Analysis

Health

Informatics

Learning Associations

Classification

Prediction

Extraction

Page 8: Predicting Length Of Stay Using Neural Networks on MIMIC III · 2017-11-29 · Predicting Length Of Stay Using Neural Networks on MIMIC III New Orleans ... Age Gender ICU LOS SI Vitals

Individual Neuron

8

Page 9: Predicting Length Of Stay Using Neural Networks on MIMIC III · 2017-11-29 · Predicting Length Of Stay Using Neural Networks on MIMIC III New Orleans ... Age Gender ICU LOS SI Vitals

Neural Network Description

• Functions used:

Linear

Multi-quadratic

Gaussian

Logistic

9

Page 10: Predicting Length Of Stay Using Neural Networks on MIMIC III · 2017-11-29 · Predicting Length Of Stay Using Neural Networks on MIMIC III New Orleans ... Age Gender ICU LOS SI Vitals

Obvious Questions-Obvious Answer

•What is the right architecture?

•Which are the right functions?

10

TRY ALL OF

THEM!!!!!!!!!!!

Page 11: Predicting Length Of Stay Using Neural Networks on MIMIC III · 2017-11-29 · Predicting Length Of Stay Using Neural Networks on MIMIC III New Orleans ... Age Gender ICU LOS SI Vitals

Calculations, Calculations Everywhere!

11

Best Configuration

DATA

VM

TIME

Page 12: Predicting Length Of Stay Using Neural Networks on MIMIC III · 2017-11-29 · Predicting Length Of Stay Using Neural Networks on MIMIC III New Orleans ... Age Gender ICU LOS SI Vitals

MIMIC III database

12

46.000 patients 26 data tables

4+ Millions of rows in some tables

100+ input variables

Images and time-series

Connections between variables

Page 13: Predicting Length Of Stay Using Neural Networks on MIMIC III · 2017-11-29 · Predicting Length Of Stay Using Neural Networks on MIMIC III New Orleans ... Age Gender ICU LOS SI Vitals

Main Goal

Given specific health indices and characteristics of a patient right after a stay at the ICU, predict the total length of stay at the hospital.

13

Page 14: Predicting Length Of Stay Using Neural Networks on MIMIC III · 2017-11-29 · Predicting Length Of Stay Using Neural Networks on MIMIC III New Orleans ... Age Gender ICU LOS SI Vitals

Neural Networks at work

14

Age Gender ICU LOS SI Vitals Notes Long

Stay

34 M 12D 1 The

patient suffered ..

… N

50 F 13D 2 High blood pressure …

… Y

60 M 1M 12 3 cc of

Benadryl… … Y

… … … … … … … …

Page 15: Predicting Length Of Stay Using Neural Networks on MIMIC III · 2017-11-29 · Predicting Length Of Stay Using Neural Networks on MIMIC III New Orleans ... Age Gender ICU LOS SI Vitals

Baby Codes in R

• Predicting comorbidities

• Predicting death

• Predicting sepsis

• Predicting Cancer

• Predicting Length Of Stay (LOS)

15

Page 16: Predicting Length Of Stay Using Neural Networks on MIMIC III · 2017-11-29 · Predicting Length Of Stay Using Neural Networks on MIMIC III New Orleans ... Age Gender ICU LOS SI Vitals

Short vs Long Stay

• 79% Accuracy

• Increase:

Number of input variables (37)

Size of input data (200,000 stays)

Specific diseases

16

Page 17: Predicting Length Of Stay Using Neural Networks on MIMIC III · 2017-11-29 · Predicting Length Of Stay Using Neural Networks on MIMIC III New Orleans ... Age Gender ICU LOS SI Vitals

New Results

• Aortic Aneurysm (92%)

• Transient Ischemic Attack (90%)

• Increase overall Long/Short prediction (87%) ??

• Predict length of stay +-2days (85%)

17

Page 18: Predicting Length Of Stay Using Neural Networks on MIMIC III · 2017-11-29 · Predicting Length Of Stay Using Neural Networks on MIMIC III New Orleans ... Age Gender ICU LOS SI Vitals

Final Remarks

Different Way of Thinking

Great at Prediction

Bad at telling a story

Perfect for Collaboration

18

Page 19: Predicting Length Of Stay Using Neural Networks on MIMIC III · 2017-11-29 · Predicting Length Of Stay Using Neural Networks on MIMIC III New Orleans ... Age Gender ICU LOS SI Vitals

Interests-Potential Collaborations

Interested in

Health Informatics (Any data, any question)

Precision Agriculture and machine learning

Sentiment analysis (twitter data)

Price analysis (commodities)

Networks (Topological Data Analysis)

19

Page 20: Predicting Length Of Stay Using Neural Networks on MIMIC III · 2017-11-29 · Predicting Length Of Stay Using Neural Networks on MIMIC III New Orleans ... Age Gender ICU LOS SI Vitals

20

THANK YOU!

[email protected]