SlideShare a Scribd company logo
1 of 37
Download to read offline
Machine Learning and Internet of Things
The Future of Medical Prevention
Introduction
Dataiku
•  Founded in 2013
•  60 + employees
•  Paris, New-York, London, San Francisco
Data Science Software Editor of Dataiku DSS
DESIGN
Load and prepare
your data
PREPARE
Build your
models
MODEL
Visualize and share
your work
ANALYSE
Re-execute your
workflow at ease
AUTOMATE
Follow your production
environment
MONITOR
Get predictions
in real time
SCORE
PRODUCTION
A data science workflow
Six steps to a predictive model
Data
Exploration &
Understanding
Data
Preparation
Model Creation
Evaluation Deployment
Data
Acquisition
Dataset
1
Scored
dataset
Model as
an API
Iteration 1
Iteration 2
Iteration n
Creating a predictive model is an highly
iterative process.
Data Science Studio enables its users to
create and manage these projects from
end-to-end.
This process is not industry specific, and
can be applied to many use cases.
Dataset
2
Dataset
n
Business/Problem
Understanding
Adapted from the CRISP-DM methodology
Epilepsy
Stats and figures
1-­‐3%	
   of	
  the	
  popula/on	
  
15.5	
  billion	
   Euros	
  /	
  year	
  spent	
  trea/ng	
  seizures	
  
6	
   Types	
  of	
  epilepsy	
  
Dozens	
   of	
  exis/ng	
  treatments	
  
Days	
  to	
  weeks	
   of	
  hospital	
  /me	
  required	
  to	
  diagnose	
  
Epilepsy + IoT
Faster, more comfortable diagnosis
+
EEG
Seizures on an EEG
EEG
Spikes on an EEG
Goals
Improve Epilepsy Diagnosis
1.  Allow at-home EEG recording via wearable device
2.  Detect seizures automatically
3.  Detect spikes automatically
4.  Shorten time-to-diagnosis for patients with epilepsy
Ageing
Stats and figures
x3	
   Over	
  last	
  60	
  years	
  
12	
  million	
   fall	
  every	
  year	
  in	
  the	
  U.S	
  
700	
  million	
   People	
  older	
  than	
  60	
  in	
  2006	
  
28.5	
  %	
   of	
  this	
  popula/on	
  leave	
  alone	
  in	
  the	
  EU	
  
Third	
  leading	
   Cause	
  of	
  death	
  :	
  strokes.	
  
3/4	
   of	
  all	
  strokes	
  happen	
  to	
  people	
  over	
  65	
  
Safe Aging with Sphere
Improve Falling Detection
Credit Aakansh Gupta : http://datascience.blog.uhuru.co.jp/machine-learning/safe-aging-with-iot-and-machine-learning/
Goals
Improve Falling Detection
1.  Predict falls and detect strokes so that help may be summoned
2.  Analyse eating behaviour - including whether people are taking
prescribed medication
3.  Detect periods of depression or anxiety and intervene using a computer
based therapy
Data Acquisition / Preparation
The concept
We’re taking a digital sample of an analog signal
Data Collected True Signal
The Data
1024 Hz x 24 channels = 353 Mb / (hour x patient)
20 patients X 24 hours = 170 Gb
Nightly transfers of data from device to cloud
(via wifi)
We want to scale to hundreds of patients with
days of data
Epilepsy
The Data
•  Accelerometer - Sampled at 20 Hz;
•  RGB-D - Bounding box information
•  Environmental - The values of passive infrared (PIR) sensors
Safe Aging
The Data
Needs
•  Interpolation
•  Missing data, synchronization fail
•  Smart Sampling
•  Zoom at different frequency levels
•  Different sensors -> different frequency.
-> how to merge ?
•  Aggregation
Time Series as Relational Data
Time Stamp
10001
10002
10003
10004
10005
Sensor1
40
-
-
43
42
Sensor2
-
50
55
20
-
Sensor3
30
34
60
-
40
Aggregation
Resampling
Interpolation
Time Series as JSON
{
"sensor1":
{
10001: 40,
10004: 43,
10005: 42
},
"sensor2":
{
10002: 50,
10003: 55,
10004: 20
}
…
}
Aggregation
Resampling
Interpolation
Time Series as Time Series
Time Series Database
Aggregation
Resampling
Interpolation
Signal Processing
Lots of libraries, lots of options
Rename
Generate
Rolling mean
Rolling max
Rolling min
Rolling median
Wavelet decomposition
STL decomposition
Peak detection
Low pass filter
High pass filter
Convolution
Correlation
Short-time FFT
Implemented with
common interface
+
+
Model Creation and Evaluation
EEG
Spikes on an EEG
0	
  
0	
  
0	
  
1	
  
Sphere
Movement detection
Machine learning
Features
•  Descriptive features
Epilepsy	
   Pa/ent	
  informa/on	
  :	
  EMR…	
  
Safe	
  aging	
   EMR,	
  age,	
  height	
  
•  Time series features
Epilepsy	
   Current	
  values,	
  previous	
  values,	
  correla/ons,	
  
Fourier,	
  Wavelets,	
  …	
  
Safe	
  aging	
   Current	
  values,	
  previous	
  values,	
  	
  rolling	
  averages,	
  
…	
  
Machine learning
Features
•  More data Means less feature engineering
Safe	
  aging	
  (lot’s	
  of	
  values)	
  
	
  
Xgboost	
  on	
  current	
  and	
  previous	
  values:	
  
Let	
  the	
  model	
  find	
  the	
  interac/ons	
  
Epilepsy	
  (millions	
  of	
  lines)	
   RNN,	
  LSTM.	
  Network	
  Architecture	
  =	
  Feature	
  
engineering	
  
Training, Testing, Validation
4 patients, 4 readings from each patient
Split 1: Awesome performance
4 patients, 4 readings from each patient
Training Testing
AUC = 0.94
Split 2: OK performance
4 patients, 4 readings from each patient
Training Testing
AUC = 0.70
Worries
About our spike detection model
Poor generalization to new patients
What about new devices?
What about different doctors creating
annotations?
Solution: more patients, more doctors, more devices
Worries
About our position detection model
Average generalization to new patients
What about new devices?
What about different home / rooms ?
Data Solution : more patients, more houses, more devices
Practical Solution : warm start with house + person. Expensive
Deploy
Deploy
•  Model Deployment
Epilepsy	
  Diagnosis	
   Batch	
  scoring	
  on	
  all	
  record	
  a_er	
  X	
  days	
  
Epilepsy	
  Spike	
  detec:on	
   Batch	
  scoring	
  (used	
  for	
  diagnosis)	
  
Epilepsy	
  seizure	
  detec:on	
   Real	
  /me	
  scoring	
  
Safe	
  aging	
   Real	
  /me	
  scoring	
  every	
  second	
  
Theory
•  Maintain your feature flow !
Deploy
•  Don’t underestimate real life conditions
•  Anomalies
•  Headset in wrong position
•  Bracelet in wrong hand
•  Hardware / sensors deficiency
Practice
•  Challenge: go beyond clinical experiments
Summary
Summary
•  IoT devices can improve early detection (epilepsy, fall,…)
•  IoT devices produce lots of data – use databases made for IoT
•  Standard workflow – acquire, visualize, prepare, model – can be replicated for IoT
devices using open source software
•  Differences between patients remains a challenge for prediction algorithms
IoT devices for medical applications
@prrgu/errez	
  

More Related Content

Viewers also liked

PreScouter Internet of Medical Things: Industry Roundtable Webinar
PreScouter Internet of Medical Things: Industry Roundtable WebinarPreScouter Internet of Medical Things: Industry Roundtable Webinar
PreScouter Internet of Medical Things: Industry Roundtable Webinar
PreScouter
 

Viewers also liked (20)

Before Kaggle
Before KaggleBefore Kaggle
Before Kaggle
 
Abstractions Conference 2016 - Machine Learning in Healthcare – ML for the Re...
Abstractions Conference 2016 - Machine Learning in Healthcare – ML for the Re...Abstractions Conference 2016 - Machine Learning in Healthcare – ML for the Re...
Abstractions Conference 2016 - Machine Learning in Healthcare – ML for the Re...
 
Predicting the Future of Predictive Analytics in Healthcare
Predicting the Future of Predictive Analytics in HealthcarePredicting the Future of Predictive Analytics in Healthcare
Predicting the Future of Predictive Analytics in Healthcare
 
Introduction to Uplift Modelling
Introduction to Uplift ModellingIntroduction to Uplift Modelling
Introduction to Uplift Modelling
 
Ransomware in Healthcare: 5 Attacks on Hospitals & Lessons Learned
Ransomware in Healthcare: 5 Attacks on Hospitals & Lessons LearnedRansomware in Healthcare: 5 Attacks on Hospitals & Lessons Learned
Ransomware in Healthcare: 5 Attacks on Hospitals & Lessons Learned
 
Design Thinking: 5 Steps to Healthy Healthcare Apps
Design Thinking: 5 Steps to Healthy Healthcare AppsDesign Thinking: 5 Steps to Healthy Healthcare Apps
Design Thinking: 5 Steps to Healthy Healthcare Apps
 
Churn prediction data modeling
Churn prediction data modelingChurn prediction data modeling
Churn prediction data modeling
 
Social media in healthcare bilbao
Social media in healthcare bilbaoSocial media in healthcare bilbao
Social media in healthcare bilbao
 
Fitting IoT into your mobile enterprise
Fitting IoT into your mobile enterpriseFitting IoT into your mobile enterprise
Fitting IoT into your mobile enterprise
 
MongoDB IoT City Tour EINDHOVEN: IoT in Healthcare: by, Microsoft & Barco
MongoDB IoT City Tour EINDHOVEN: IoT in Healthcare: by, Microsoft & BarcoMongoDB IoT City Tour EINDHOVEN: IoT in Healthcare: by, Microsoft & Barco
MongoDB IoT City Tour EINDHOVEN: IoT in Healthcare: by, Microsoft & Barco
 
IoT and physical security of medical devices
IoT and physical security of medical devicesIoT and physical security of medical devices
IoT and physical security of medical devices
 
Hands-on Machine Learning Using Healthcare
Hands-on Machine Learning Using HealthcareHands-on Machine Learning Using Healthcare
Hands-on Machine Learning Using Healthcare
 
New Ways for Predictive Analytics and Machine Learning to Advance Population ...
New Ways for Predictive Analytics and Machine Learning to Advance Population ...New Ways for Predictive Analytics and Machine Learning to Advance Population ...
New Ways for Predictive Analytics and Machine Learning to Advance Population ...
 
PreScouter Internet of Medical Things: Industry Roundtable Webinar
PreScouter Internet of Medical Things: Industry Roundtable WebinarPreScouter Internet of Medical Things: Industry Roundtable Webinar
PreScouter Internet of Medical Things: Industry Roundtable Webinar
 
Mobile, IoT and Web
Mobile, IoT and WebMobile, IoT and Web
Mobile, IoT and Web
 
OnDemand Webinar: Key Considerations to Securing the Internet of Things (IoT)...
OnDemand Webinar: Key Considerations to Securing the Internet of Things (IoT)...OnDemand Webinar: Key Considerations to Securing the Internet of Things (IoT)...
OnDemand Webinar: Key Considerations to Securing the Internet of Things (IoT)...
 
Domain-specific Modeling and Code Generation for Cross-platform Mobile and Io...
Domain-specific Modeling and Code Generation for Cross-platform Mobile and Io...Domain-specific Modeling and Code Generation for Cross-platform Mobile and Io...
Domain-specific Modeling and Code Generation for Cross-platform Mobile and Io...
 
How To Avoid The 3 Most Common Healthcare Analytics Pitfalls And Related Inef...
How To Avoid The 3 Most Common Healthcare Analytics Pitfalls And Related Inef...How To Avoid The 3 Most Common Healthcare Analytics Pitfalls And Related Inef...
How To Avoid The 3 Most Common Healthcare Analytics Pitfalls And Related Inef...
 
Summit @ HIMSS- IoT and Personal Connected Health
Summit @ HIMSS-  IoT and Personal Connected HealthSummit @ HIMSS-  IoT and Personal Connected Health
Summit @ HIMSS- IoT and Personal Connected Health
 
Road Accidents in India seminar report
Road Accidents in India seminar reportRoad Accidents in India seminar report
Road Accidents in India seminar report
 

Similar to Machine learning and Internet of Things, the future of medical prevention

Real-World Applications of OMG Technology in Medicine
Real-World Applications of OMG Technology in MedicineReal-World Applications of OMG Technology in Medicine
Real-World Applications of OMG Technology in Medicine
Real-Time Innovations (RTI)
 
Examining New Research Capabilities and Technology for Preclinical Telemetry ...
Examining New Research Capabilities and Technology for Preclinical Telemetry ...Examining New Research Capabilities and Technology for Preclinical Telemetry ...
Examining New Research Capabilities and Technology for Preclinical Telemetry ...
InsideScientific
 

Similar to Machine learning and Internet of Things, the future of medical prevention (20)

"Machine Learning and Internet of Things, the future of medical prevention", ...
"Machine Learning and Internet of Things, the future of medical prevention", ..."Machine Learning and Internet of Things, the future of medical prevention", ...
"Machine Learning and Internet of Things, the future of medical prevention", ...
 
AI-powered Medical Imaging Analysis for Precision Medicine
AI-powered Medical Imaging Analysis for Precision MedicineAI-powered Medical Imaging Analysis for Precision Medicine
AI-powered Medical Imaging Analysis for Precision Medicine
 
High Performance Computing and the Opportunity with Cognitive Technology
 High Performance Computing and the Opportunity with Cognitive Technology High Performance Computing and the Opportunity with Cognitive Technology
High Performance Computing and the Opportunity with Cognitive Technology
 
ICT4Life objective on information fusion and algorithm training
ICT4Life objective on information fusion and algorithm trainingICT4Life objective on information fusion and algorithm training
ICT4Life objective on information fusion and algorithm training
 
10th Annual Utah's Health Services Research Conference - Iterative Developmen...
10th Annual Utah's Health Services Research Conference - Iterative Developmen...10th Annual Utah's Health Services Research Conference - Iterative Developmen...
10th Annual Utah's Health Services Research Conference - Iterative Developmen...
 
Real-World Applications of OMG Technology in Medicine
Real-World Applications of OMG Technology in MedicineReal-World Applications of OMG Technology in Medicine
Real-World Applications of OMG Technology in Medicine
 
DRIVE 2017 | 25 October - THE HUMAN TOUCH - Meaningful Data & Smart Fashion
DRIVE 2017 | 25 October - THE HUMAN TOUCH - Meaningful Data & Smart FashionDRIVE 2017 | 25 October - THE HUMAN TOUCH - Meaningful Data & Smart Fashion
DRIVE 2017 | 25 October - THE HUMAN TOUCH - Meaningful Data & Smart Fashion
 
ApolloDx's mDx Platform - Real-Time Results Transmitted Instantly
ApolloDx's mDx Platform - Real-Time Results Transmitted InstantlyApolloDx's mDx Platform - Real-Time Results Transmitted Instantly
ApolloDx's mDx Platform - Real-Time Results Transmitted Instantly
 
Examining New Research Capabilities and Technology for Preclinical Telemetry ...
Examining New Research Capabilities and Technology for Preclinical Telemetry ...Examining New Research Capabilities and Technology for Preclinical Telemetry ...
Examining New Research Capabilities and Technology for Preclinical Telemetry ...
 
Enable breakthrough in Parkinson disease research- Ido Karavany-
Enable breakthrough in Parkinson disease research- Ido Karavany-Enable breakthrough in Parkinson disease research- Ido Karavany-
Enable breakthrough in Parkinson disease research- Ido Karavany-
 
Experimental Design for Chronic Telemetry Studies
Experimental Design for Chronic Telemetry StudiesExperimental Design for Chronic Telemetry Studies
Experimental Design for Chronic Telemetry Studies
 
Michele Tonutti - Scaling is caring - Codemotion Amsterdam 2019
Michele Tonutti - Scaling is caring - Codemotion Amsterdam 2019Michele Tonutti - Scaling is caring - Codemotion Amsterdam 2019
Michele Tonutti - Scaling is caring - Codemotion Amsterdam 2019
 
Disease Prediction And Doctor Appointment system
Disease Prediction And Doctor Appointment  systemDisease Prediction And Doctor Appointment  system
Disease Prediction And Doctor Appointment system
 
Computer Vision for Measurement & FR
Computer Vision for Measurement & FRComputer Vision for Measurement & FR
Computer Vision for Measurement & FR
 
iMicrobe and iVirus: Extending the iPlant cyberinfrastructure from plants to ...
iMicrobe and iVirus: Extending the iPlant cyberinfrastructure from plants to ...iMicrobe and iVirus: Extending the iPlant cyberinfrastructure from plants to ...
iMicrobe and iVirus: Extending the iPlant cyberinfrastructure from plants to ...
 
Deep Learning for AI (3)
Deep Learning for AI (3)Deep Learning for AI (3)
Deep Learning for AI (3)
 
Seminar nov2017
Seminar nov2017Seminar nov2017
Seminar nov2017
 
Neural Networks for Pattern Recognition
Neural Networks for Pattern RecognitionNeural Networks for Pattern Recognition
Neural Networks for Pattern Recognition
 
DigitalpathologybyDrbandanarml pathology
DigitalpathologybyDrbandanarml pathologyDigitalpathologybyDrbandanarml pathology
DigitalpathologybyDrbandanarml pathology
 
Final_Presentation.pptx
Final_Presentation.pptxFinal_Presentation.pptx
Final_Presentation.pptx
 

Recently uploaded

➥🔝 7737669865 🔝▻ malwa Call-girls in Women Seeking Men 🔝malwa🔝 Escorts Ser...
➥🔝 7737669865 🔝▻ malwa Call-girls in Women Seeking Men  🔝malwa🔝   Escorts Ser...➥🔝 7737669865 🔝▻ malwa Call-girls in Women Seeking Men  🔝malwa🔝   Escorts Ser...
➥🔝 7737669865 🔝▻ malwa Call-girls in Women Seeking Men 🔝malwa🔝 Escorts Ser...
amitlee9823
 
Call Girls In Nandini Layout ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Nandini Layout ☎ 7737669865 🥵 Book Your One night StandCall Girls In Nandini Layout ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Nandini Layout ☎ 7737669865 🥵 Book Your One night Stand
amitlee9823
 
Call Girls In Attibele ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Attibele ☎ 7737669865 🥵 Book Your One night StandCall Girls In Attibele ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Attibele ☎ 7737669865 🥵 Book Your One night Stand
amitlee9823
 
Call Girls In Hsr Layout ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Hsr Layout ☎ 7737669865 🥵 Book Your One night StandCall Girls In Hsr Layout ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Hsr Layout ☎ 7737669865 🥵 Book Your One night Stand
amitlee9823
 
Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
amitlee9823
 
Mg Road Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Banga...
Mg Road Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Banga...Mg Road Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Banga...
Mg Road Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Banga...
amitlee9823
 
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
amitlee9823
 
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
amitlee9823
 
Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...
Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...
Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...
amitlee9823
 
➥🔝 7737669865 🔝▻ mahisagar Call-girls in Women Seeking Men 🔝mahisagar🔝 Esc...
➥🔝 7737669865 🔝▻ mahisagar Call-girls in Women Seeking Men  🔝mahisagar🔝   Esc...➥🔝 7737669865 🔝▻ mahisagar Call-girls in Women Seeking Men  🔝mahisagar🔝   Esc...
➥🔝 7737669865 🔝▻ mahisagar Call-girls in Women Seeking Men 🔝mahisagar🔝 Esc...
amitlee9823
 
Call Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service BangaloreCall Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
amitlee9823
 
Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Doha Qatar (+966572737505 ! Get CytotecAbortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Riyadh +966572737505 get cytotec
 
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
amitlee9823
 

Recently uploaded (20)

➥🔝 7737669865 🔝▻ malwa Call-girls in Women Seeking Men 🔝malwa🔝 Escorts Ser...
➥🔝 7737669865 🔝▻ malwa Call-girls in Women Seeking Men  🔝malwa🔝   Escorts Ser...➥🔝 7737669865 🔝▻ malwa Call-girls in Women Seeking Men  🔝malwa🔝   Escorts Ser...
➥🔝 7737669865 🔝▻ malwa Call-girls in Women Seeking Men 🔝malwa🔝 Escorts Ser...
 
Detecting Credit Card Fraud: A Machine Learning Approach
Detecting Credit Card Fraud: A Machine Learning ApproachDetecting Credit Card Fraud: A Machine Learning Approach
Detecting Credit Card Fraud: A Machine Learning Approach
 
VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...
VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...
VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...
 
Call Girls In Nandini Layout ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Nandini Layout ☎ 7737669865 🥵 Book Your One night StandCall Girls In Nandini Layout ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Nandini Layout ☎ 7737669865 🥵 Book Your One night Stand
 
BDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort Service
BDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort ServiceBDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort Service
BDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort Service
 
Call Girls In Attibele ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Attibele ☎ 7737669865 🥵 Book Your One night StandCall Girls In Attibele ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Attibele ☎ 7737669865 🥵 Book Your One night Stand
 
Call Girls In Hsr Layout ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Hsr Layout ☎ 7737669865 🥵 Book Your One night StandCall Girls In Hsr Layout ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Hsr Layout ☎ 7737669865 🥵 Book Your One night Stand
 
Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
 
Mg Road Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Banga...
Mg Road Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Banga...Mg Road Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Banga...
Mg Road Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Banga...
 
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
 
Thane Call Girls 7091864438 Call Girls in Thane Escort service book now -
Thane Call Girls 7091864438 Call Girls in Thane Escort service book now -Thane Call Girls 7091864438 Call Girls in Thane Escort service book now -
Thane Call Girls 7091864438 Call Girls in Thane Escort service book now -
 
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
 
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
 
Cheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 night
Cheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 nightCheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 night
Cheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 night
 
Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...
Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...
Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...
 
Capstone Project on IBM Data Analytics Program
Capstone Project on IBM Data Analytics ProgramCapstone Project on IBM Data Analytics Program
Capstone Project on IBM Data Analytics Program
 
➥🔝 7737669865 🔝▻ mahisagar Call-girls in Women Seeking Men 🔝mahisagar🔝 Esc...
➥🔝 7737669865 🔝▻ mahisagar Call-girls in Women Seeking Men  🔝mahisagar🔝   Esc...➥🔝 7737669865 🔝▻ mahisagar Call-girls in Women Seeking Men  🔝mahisagar🔝   Esc...
➥🔝 7737669865 🔝▻ mahisagar Call-girls in Women Seeking Men 🔝mahisagar🔝 Esc...
 
Call Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service BangaloreCall Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
 
Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Doha Qatar (+966572737505 ! Get CytotecAbortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
 
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
 

Machine learning and Internet of Things, the future of medical prevention

  • 1. Machine Learning and Internet of Things The Future of Medical Prevention
  • 3. Dataiku •  Founded in 2013 •  60 + employees •  Paris, New-York, London, San Francisco Data Science Software Editor of Dataiku DSS DESIGN Load and prepare your data PREPARE Build your models MODEL Visualize and share your work ANALYSE Re-execute your workflow at ease AUTOMATE Follow your production environment MONITOR Get predictions in real time SCORE PRODUCTION
  • 4. A data science workflow Six steps to a predictive model Data Exploration & Understanding Data Preparation Model Creation Evaluation Deployment Data Acquisition Dataset 1 Scored dataset Model as an API Iteration 1 Iteration 2 Iteration n Creating a predictive model is an highly iterative process. Data Science Studio enables its users to create and manage these projects from end-to-end. This process is not industry specific, and can be applied to many use cases. Dataset 2 Dataset n Business/Problem Understanding Adapted from the CRISP-DM methodology
  • 5. Epilepsy Stats and figures 1-­‐3%   of  the  popula/on   15.5  billion   Euros  /  year  spent  trea/ng  seizures   6   Types  of  epilepsy   Dozens   of  exis/ng  treatments   Days  to  weeks   of  hospital  /me  required  to  diagnose  
  • 6. Epilepsy + IoT Faster, more comfortable diagnosis +
  • 9. Goals Improve Epilepsy Diagnosis 1.  Allow at-home EEG recording via wearable device 2.  Detect seizures automatically 3.  Detect spikes automatically 4.  Shorten time-to-diagnosis for patients with epilepsy
  • 10. Ageing Stats and figures x3   Over  last  60  years   12  million   fall  every  year  in  the  U.S   700  million   People  older  than  60  in  2006   28.5  %   of  this  popula/on  leave  alone  in  the  EU   Third  leading   Cause  of  death  :  strokes.   3/4   of  all  strokes  happen  to  people  over  65  
  • 11. Safe Aging with Sphere Improve Falling Detection Credit Aakansh Gupta : http://datascience.blog.uhuru.co.jp/machine-learning/safe-aging-with-iot-and-machine-learning/
  • 12. Goals Improve Falling Detection 1.  Predict falls and detect strokes so that help may be summoned 2.  Analyse eating behaviour - including whether people are taking prescribed medication 3.  Detect periods of depression or anxiety and intervene using a computer based therapy
  • 13. Data Acquisition / Preparation
  • 14. The concept We’re taking a digital sample of an analog signal Data Collected True Signal
  • 15. The Data 1024 Hz x 24 channels = 353 Mb / (hour x patient) 20 patients X 24 hours = 170 Gb Nightly transfers of data from device to cloud (via wifi) We want to scale to hundreds of patients with days of data Epilepsy
  • 16. The Data •  Accelerometer - Sampled at 20 Hz; •  RGB-D - Bounding box information •  Environmental - The values of passive infrared (PIR) sensors Safe Aging
  • 17. The Data Needs •  Interpolation •  Missing data, synchronization fail •  Smart Sampling •  Zoom at different frequency levels •  Different sensors -> different frequency. -> how to merge ? •  Aggregation
  • 18. Time Series as Relational Data Time Stamp 10001 10002 10003 10004 10005 Sensor1 40 - - 43 42 Sensor2 - 50 55 20 - Sensor3 30 34 60 - 40 Aggregation Resampling Interpolation
  • 19. Time Series as JSON { "sensor1": { 10001: 40, 10004: 43, 10005: 42 }, "sensor2": { 10002: 50, 10003: 55, 10004: 20 } … } Aggregation Resampling Interpolation
  • 20. Time Series as Time Series Time Series Database Aggregation Resampling Interpolation
  • 21. Signal Processing Lots of libraries, lots of options Rename Generate Rolling mean Rolling max Rolling min Rolling median Wavelet decomposition STL decomposition Peak detection Low pass filter High pass filter Convolution Correlation Short-time FFT Implemented with common interface + +
  • 22. Model Creation and Evaluation
  • 23. EEG Spikes on an EEG 0   0   0   1  
  • 25. Machine learning Features •  Descriptive features Epilepsy   Pa/ent  informa/on  :  EMR…   Safe  aging   EMR,  age,  height   •  Time series features Epilepsy   Current  values,  previous  values,  correla/ons,   Fourier,  Wavelets,  …   Safe  aging   Current  values,  previous  values,    rolling  averages,   …  
  • 26. Machine learning Features •  More data Means less feature engineering Safe  aging  (lot’s  of  values)     Xgboost  on  current  and  previous  values:   Let  the  model  find  the  interac/ons   Epilepsy  (millions  of  lines)   RNN,  LSTM.  Network  Architecture  =  Feature   engineering  
  • 27. Training, Testing, Validation 4 patients, 4 readings from each patient
  • 28. Split 1: Awesome performance 4 patients, 4 readings from each patient Training Testing AUC = 0.94
  • 29. Split 2: OK performance 4 patients, 4 readings from each patient Training Testing AUC = 0.70
  • 30. Worries About our spike detection model Poor generalization to new patients What about new devices? What about different doctors creating annotations? Solution: more patients, more doctors, more devices
  • 31. Worries About our position detection model Average generalization to new patients What about new devices? What about different home / rooms ? Data Solution : more patients, more houses, more devices Practical Solution : warm start with house + person. Expensive
  • 33. Deploy •  Model Deployment Epilepsy  Diagnosis   Batch  scoring  on  all  record  a_er  X  days   Epilepsy  Spike  detec:on   Batch  scoring  (used  for  diagnosis)   Epilepsy  seizure  detec:on   Real  /me  scoring   Safe  aging   Real  /me  scoring  every  second   Theory •  Maintain your feature flow !
  • 34. Deploy •  Don’t underestimate real life conditions •  Anomalies •  Headset in wrong position •  Bracelet in wrong hand •  Hardware / sensors deficiency Practice •  Challenge: go beyond clinical experiments
  • 36. Summary •  IoT devices can improve early detection (epilepsy, fall,…) •  IoT devices produce lots of data – use databases made for IoT •  Standard workflow – acquire, visualize, prepare, model – can be replicated for IoT devices using open source software •  Differences between patients remains a challenge for prediction algorithms IoT devices for medical applications