SlideShare une entreprise Scribd logo
1  sur  38
Télécharger pour lire hors ligne
Diagnosing heart
diseases
with deep neural networks
Introduction
• Julian de Wit
• Freelancer software / machine learning
• MSc. Software engineering
• Love biologically inspired computing
• Last few years neural net “revolution”
• Turn academic ideas into practical apps
• Documents, plant/fruit grading, Medical, radar
Agenda
1. Diagnose heart disease challenge
2. Deep learning
3. Solution discussion
4. Results
5. Some extra slides
6. Feel free to ask questions during talk !
Challenge
• Second national data science bowl
• Kaggle.com / Booz Allen Hamilton
• Automate manual 30min clinical procedure
• Ca. 500.000 cases/year in USA
• Estimate heart volume based on MRI’s
• Ratio systole/diastole is ‘health’ predictor
• 750 teams
• $200.000 prize money
Challenge
• Kaggle.com
• Competition platform for ‘data scientists’
• Challenges hosted for companies
• Prize money and exposure
• 400.000+ registered users
• Learn: Always someone smarter than you !
• Today’s state of the art is tomorrow’s baseline!
Challenge • Given: MRI’s, metadata, train-volumes
• Train 700, Test: 1000 patients, 300.000+ imgs
• Estimate volume of left ventricle
Deep learning
• Image data → Deep Learning (CNN)
• Neural networks 2.0
• Don’t believe ALL the hype
• Structured data → feature engineering + Tree/Lin
• Great when “perception” data is involved
• Spectacular results with image analysis
• My take: “Super human” with a twist
Solution • Step 1: Preprocessing
• Use DICOM info to make images uniform
• Crop around heart 180x180 (less distractions)
• For my solution less class imbalance
• Local contrast enhancement (CLAHE)
Solution
123ml
• Step 2: Train deep neural net
• Standard option: Regression with ‘Vanilla’ architecture.
• Approach used by most teams (ie. #2 Ghent university)
• Input slices, regress on provided volumes
Solution • Less publicized approach (mine): Segment images.
• Integrate estimated areas into volume using metadata.
• Problem: ‘No annotations provided.’ Sunnybrook/hand
Solution • Segmentation : Traditional architecture bad fit
• Every layer is higher level features less spatial info (BOW)
• Per pixel classification possible coarse due to spatial loss
• Cumbersome! H x W x 300.000 classifications.
Solution • Segmentation : Fully convolutional architecture + upscale
• Efficient. Classify all pixels at once
• Still problem spatial bottleneck at bottom : coarse
Solution • Segmentation : U-net architecture
• Skip connection give more detail in segmentation output
• Author works at Deepmind health now
• Resnet-like ?!?
Solution
• Segmentation results impressive.
• Machine did exactly what it was told.
• Confused with uncommon examples < 1%.
• Remedy : Active learning
• Nice property : brightness == (un)certainty
Solution • Last step: Integrate to volume.. should be simple
• Devil was in the details
PER PIXEL
SEGMENTATION
LEFT VENTRICLE
Y/N
SUM ALL PIXELS
AND USE
DICOM INFO TO
GET TO ML
100ML
...
...
...
...
n slices n overlays
Solution
• Devil in details: MUCH data cleaning
• Slice order
• Missing slices
• Out of bound slices
• Wrong orientation
• Missing frames
• BAD ground truth volumes
• Gradient boosting “calibration” procedure
• Not relevant in real setting. Just rescan MRI.
Results
• Result:
• 3rd place
• Only 1 model. No ensemble.
• Sub 10ml MAE → clinically significant
• Many improvements possible :
• More, cleaner train data
• Expert annotations
• Active learning
Appendix 1.
• Other approaches
• #1 Similar + 9 extra models
Segmentation, age, 4-chamber, regression on images etc.
• #2 Traditional, 250!! Models
Dynamic ensemble per patient
“Cool” end-to-end model
Appendix 2.
• U-nets and state of the art
• Potential successor dilated convolutions.
• No more bottleneck.
• Somewhat easier to use.
• Small improvements for personal project.
• Jury is still out.
• Kaggle: Ultrasound nerve segmentation
• U-nets was baseline and best solution.
• FCN also worked.
• No significant “discoveries”
• Dilated convolutions did not seem to work,
Appendix 3.
• Medical images challenges
• Deep learning => success
• Example: Kaggle retinopathy challenge
• As good as doctor (better in combination)
• Google deepmind (Jeffry De Fauw=Kaggler)
• Many other companies “copied” the solution
Summary
• Deep learning for medical imaging
EINDE....
Diagnosing heart diseases
with deep neural networks
Competition
• Kaggle.com
• Competition platform for ‘data scientists’
• Challenges hosted for companies
• Prize money and exposure
• 400.000+ registered competitors
• Learn. Always someone smarter than you !
• Today’s state of the art is tomorrow’s baseline!
My background
• Julian de Wit
• Freelancer software / machine learning
• Technical University Delft : SE
• Biologically inspired computing / AI
• Since 2006 heavily re-interested in neural nets
• Looking for opportunities to test and bring in
practice
Approach
n slices n overlays
PER PIXEL
SEGMENTATI
ON LEFT
VENTRICLE
Y/N
CLEAN DATA
& SUM
...
...
...
...
PROVIDED
VOLUMES
CALIBRATE 110ML
Calibration
• Use provided volumes to calibrate
• Remove systematic errors
• Use Gradient Booster on residuals
• Top 5 -> top 3
• Beware of overfitting
Approach
• Every pixel: Left ventricle Yes/No
• Use convolutional neural network
• Sunnybrook too simplistic
• Train with hand-labeled segmentations
• Reverse engineer how to label
• Fix systematic errors with calibration against
provided volumes.
Competition
Deep learning
Labeling
• Hand labeling with own tool
• Big performance limiting factor
• Could not find how to do it exactly
Cat!
Cat !
Grass
Submission
• CRPS
• Uncertainty based on stdev in error as a
function of size.
• Model provided uncertainty.
• However does not account for uncertainty in
labels
• Example: patient 429. Error of 89ml !!!
• Provided label was wrong…

Contenu connexe

En vedette

Scikit-Learn: Machine Learning in Python
Scikit-Learn: Machine Learning in PythonScikit-Learn: Machine Learning in Python
Scikit-Learn: Machine Learning in PythonMicrosoft
 
Automating Machine Learning - Is it feasible?
Automating Machine Learning - Is it feasible?Automating Machine Learning - Is it feasible?
Automating Machine Learning - Is it feasible?Manuel Martín
 
Automatic Machine Learning, AutoML
Automatic Machine Learning, AutoMLAutomatic Machine Learning, AutoML
Automatic Machine Learning, AutoMLHimadri Mishra
 
Data Science and Machine Learning Using Python and Scikit-learn
Data Science and Machine Learning Using Python and Scikit-learnData Science and Machine Learning Using Python and Scikit-learn
Data Science and Machine Learning Using Python and Scikit-learnAsim Jalis
 
A Beginner's Guide to Machine Learning with Scikit-Learn
A Beginner's Guide to Machine Learning with Scikit-LearnA Beginner's Guide to Machine Learning with Scikit-Learn
A Beginner's Guide to Machine Learning with Scikit-LearnSarah Guido
 
Introduction to Machine Learning with SciKit-Learn
Introduction to Machine Learning with SciKit-LearnIntroduction to Machine Learning with SciKit-Learn
Introduction to Machine Learning with SciKit-LearnBenjamin Bengfort
 
Introduction to Machine Learning with Python and scikit-learn
Introduction to Machine Learning with Python and scikit-learnIntroduction to Machine Learning with Python and scikit-learn
Introduction to Machine Learning with Python and scikit-learnMatt Hagy
 
New Developments in Spark
New Developments in SparkNew Developments in Spark
New Developments in SparkDatabricks
 
Practical Machine Learning in Python
Practical Machine Learning in PythonPractical Machine Learning in Python
Practical Machine Learning in PythonMatt Spitz
 
Insights Without Tradeoffs: Using Structured Streaming
Insights Without Tradeoffs: Using Structured StreamingInsights Without Tradeoffs: Using Structured Streaming
Insights Without Tradeoffs: Using Structured StreamingDatabricks
 
"Deep Learning" Chap.6 Convolutional Neural Net
"Deep Learning" Chap.6 Convolutional Neural Net"Deep Learning" Chap.6 Convolutional Neural Net
"Deep Learning" Chap.6 Convolutional Neural NetKen'ichi Matsui
 
Machine learning with scikitlearn
Machine learning with scikitlearnMachine learning with scikitlearn
Machine learning with scikitlearnPratap Dangeti
 
Realtime Analytical Query Processing and Predictive Model Building on High Di...
Realtime Analytical Query Processing and Predictive Model Building on High Di...Realtime Analytical Query Processing and Predictive Model Building on High Di...
Realtime Analytical Query Processing and Predictive Model Building on High Di...Spark Summit
 
Artificial Intelligence, Machine Learning and Deep Learning
Artificial Intelligence, Machine Learning and Deep LearningArtificial Intelligence, Machine Learning and Deep Learning
Artificial Intelligence, Machine Learning and Deep LearningSujit Pal
 
Making Structured Streaming Ready for Production
Making Structured Streaming Ready for ProductionMaking Structured Streaming Ready for Production
Making Structured Streaming Ready for ProductionDatabricks
 
Introduce Deep learning & A.I. Applications
Introduce Deep learning & A.I. ApplicationsIntroduce Deep learning & A.I. Applications
Introduce Deep learning & A.I. ApplicationsMario Cho
 
Artificial Intelligence: Predictions for 2017
Artificial Intelligence: Predictions for 2017Artificial Intelligence: Predictions for 2017
Artificial Intelligence: Predictions for 2017NVIDIA
 

En vedette (18)

Scikit-Learn: Machine Learning in Python
Scikit-Learn: Machine Learning in PythonScikit-Learn: Machine Learning in Python
Scikit-Learn: Machine Learning in Python
 
Automating Machine Learning - Is it feasible?
Automating Machine Learning - Is it feasible?Automating Machine Learning - Is it feasible?
Automating Machine Learning - Is it feasible?
 
Automatic Machine Learning, AutoML
Automatic Machine Learning, AutoMLAutomatic Machine Learning, AutoML
Automatic Machine Learning, AutoML
 
Data Science and Machine Learning Using Python and Scikit-learn
Data Science and Machine Learning Using Python and Scikit-learnData Science and Machine Learning Using Python and Scikit-learn
Data Science and Machine Learning Using Python and Scikit-learn
 
A Beginner's Guide to Machine Learning with Scikit-Learn
A Beginner's Guide to Machine Learning with Scikit-LearnA Beginner's Guide to Machine Learning with Scikit-Learn
A Beginner's Guide to Machine Learning with Scikit-Learn
 
Introduction to Machine Learning with SciKit-Learn
Introduction to Machine Learning with SciKit-LearnIntroduction to Machine Learning with SciKit-Learn
Introduction to Machine Learning with SciKit-Learn
 
Introduction to Machine Learning with Python and scikit-learn
Introduction to Machine Learning with Python and scikit-learnIntroduction to Machine Learning with Python and scikit-learn
Introduction to Machine Learning with Python and scikit-learn
 
New Developments in Spark
New Developments in SparkNew Developments in Spark
New Developments in Spark
 
Practical Machine Learning in Python
Practical Machine Learning in PythonPractical Machine Learning in Python
Practical Machine Learning in Python
 
Insights Without Tradeoffs: Using Structured Streaming
Insights Without Tradeoffs: Using Structured StreamingInsights Without Tradeoffs: Using Structured Streaming
Insights Without Tradeoffs: Using Structured Streaming
 
"Deep Learning" Chap.6 Convolutional Neural Net
"Deep Learning" Chap.6 Convolutional Neural Net"Deep Learning" Chap.6 Convolutional Neural Net
"Deep Learning" Chap.6 Convolutional Neural Net
 
Machine learning with scikitlearn
Machine learning with scikitlearnMachine learning with scikitlearn
Machine learning with scikitlearn
 
Realtime Analytical Query Processing and Predictive Model Building on High Di...
Realtime Analytical Query Processing and Predictive Model Building on High Di...Realtime Analytical Query Processing and Predictive Model Building on High Di...
Realtime Analytical Query Processing and Predictive Model Building on High Di...
 
Artificial Intelligence, Machine Learning and Deep Learning
Artificial Intelligence, Machine Learning and Deep LearningArtificial Intelligence, Machine Learning and Deep Learning
Artificial Intelligence, Machine Learning and Deep Learning
 
Making Structured Streaming Ready for Production
Making Structured Streaming Ready for ProductionMaking Structured Streaming Ready for Production
Making Structured Streaming Ready for Production
 
Deep learning
Deep learningDeep learning
Deep learning
 
Introduce Deep learning & A.I. Applications
Introduce Deep learning & A.I. ApplicationsIntroduce Deep learning & A.I. Applications
Introduce Deep learning & A.I. Applications
 
Artificial Intelligence: Predictions for 2017
Artificial Intelligence: Predictions for 2017Artificial Intelligence: Predictions for 2017
Artificial Intelligence: Predictions for 2017
 

Similaire à Julian - diagnosing heart disease using convolutional neural networks

NYC Open Data Meetup-- Thoughtworks chief data scientist talk
NYC Open Data Meetup-- Thoughtworks chief data scientist talkNYC Open Data Meetup-- Thoughtworks chief data scientist talk
NYC Open Data Meetup-- Thoughtworks chief data scientist talkVivian S. Zhang
 
Artificial Intelligence and the Data Center
Artificial Intelligence and the Data CenterArtificial Intelligence and the Data Center
Artificial Intelligence and the Data Centersflaig
 
(Em)Powering Science: High-Performance Infrastructure in Biomedical Science
(Em)Powering Science: High-Performance Infrastructure in Biomedical Science(Em)Powering Science: High-Performance Infrastructure in Biomedical Science
(Em)Powering Science: High-Performance Infrastructure in Biomedical ScienceAri Berman
 
"Enabling Ubiquitous Visual Intelligence Through Deep Learning," a Keynote Pr...
"Enabling Ubiquitous Visual Intelligence Through Deep Learning," a Keynote Pr..."Enabling Ubiquitous Visual Intelligence Through Deep Learning," a Keynote Pr...
"Enabling Ubiquitous Visual Intelligence Through Deep Learning," a Keynote Pr...Edge AI and Vision Alliance
 
MDEC Data Matters Series: machine learning and Deep Learning, A Primer
MDEC Data Matters Series: machine learning and Deep Learning, A PrimerMDEC Data Matters Series: machine learning and Deep Learning, A Primer
MDEC Data Matters Series: machine learning and Deep Learning, A PrimerPoo Kuan Hoong
 
Data Science Consulting at ThoughtWorks -- NYC Open Data Meetup
Data Science Consulting at ThoughtWorks -- NYC Open Data MeetupData Science Consulting at ThoughtWorks -- NYC Open Data Meetup
Data Science Consulting at ThoughtWorks -- NYC Open Data MeetupDavid Johnston
 
Presentation Selan dos Santos 4Eyes Lab
Presentation Selan dos Santos 4Eyes LabPresentation Selan dos Santos 4Eyes Lab
Presentation Selan dos Santos 4Eyes Labselan_rds
 
Putting the Magic in Data Science
Putting the Magic in Data SciencePutting the Magic in Data Science
Putting the Magic in Data ScienceSean Taylor
 
Introduction to Big Data and its Potential for Dementia Research
Introduction to Big Data and its Potential for Dementia ResearchIntroduction to Big Data and its Potential for Dementia Research
Introduction to Big Data and its Potential for Dementia ResearchDavid De Roure
 
WCG7 (assembled)
WCG7 (assembled)WCG7 (assembled)
WCG7 (assembled)Vivek Mehta
 
brain_tumor_detection.pptxdsksv dkvdksvbkdsk
brain_tumor_detection.pptxdsksv dkvdksvbkdskbrain_tumor_detection.pptxdsksv dkvdksvbkdsk
brain_tumor_detection.pptxdsksv dkvdksvbkdsklikhithkumpala159
 
H2O intro at Dallas Meetup
H2O intro at Dallas MeetupH2O intro at Dallas Meetup
H2O intro at Dallas MeetupSri Ambati
 
TraitCapture: NextGen Monitoring and Visualization from seed to ecosystem
TraitCapture: NextGen Monitoring and Visualization from seed to ecosystemTraitCapture: NextGen Monitoring and Visualization from seed to ecosystem
TraitCapture: NextGen Monitoring and Visualization from seed to ecosystemTimeScience
 
Deep learning introduction
Deep learning introductionDeep learning introduction
Deep learning introductionAdwait Bhave
 
Deep learning health care
Deep learning health care  Deep learning health care
Deep learning health care Meenakshi Sood
 
Data-driven hypothesis generation using deep neural nets
Data-driven hypothesis generation using deep neural netsData-driven hypothesis generation using deep neural nets
Data-driven hypothesis generation using deep neural netsBalázs Kégl
 
GTU GeekDay 2019 Limitations of Artificial Intelligence
GTU GeekDay 2019 Limitations of Artificial IntelligenceGTU GeekDay 2019 Limitations of Artificial Intelligence
GTU GeekDay 2019 Limitations of Artificial IntelligenceKürşat İNCE
 

Similaire à Julian - diagnosing heart disease using convolutional neural networks (20)

NYC Open Data Meetup-- Thoughtworks chief data scientist talk
NYC Open Data Meetup-- Thoughtworks chief data scientist talkNYC Open Data Meetup-- Thoughtworks chief data scientist talk
NYC Open Data Meetup-- Thoughtworks chief data scientist talk
 
Artificial Intelligence and the Data Center
Artificial Intelligence and the Data CenterArtificial Intelligence and the Data Center
Artificial Intelligence and the Data Center
 
Computer Design Concepts for Machine Learning
Computer Design Concepts for Machine LearningComputer Design Concepts for Machine Learning
Computer Design Concepts for Machine Learning
 
(Em)Powering Science: High-Performance Infrastructure in Biomedical Science
(Em)Powering Science: High-Performance Infrastructure in Biomedical Science(Em)Powering Science: High-Performance Infrastructure in Biomedical Science
(Em)Powering Science: High-Performance Infrastructure in Biomedical Science
 
"Enabling Ubiquitous Visual Intelligence Through Deep Learning," a Keynote Pr...
"Enabling Ubiquitous Visual Intelligence Through Deep Learning," a Keynote Pr..."Enabling Ubiquitous Visual Intelligence Through Deep Learning," a Keynote Pr...
"Enabling Ubiquitous Visual Intelligence Through Deep Learning," a Keynote Pr...
 
AlexNet
AlexNetAlexNet
AlexNet
 
MDEC Data Matters Series: machine learning and Deep Learning, A Primer
MDEC Data Matters Series: machine learning and Deep Learning, A PrimerMDEC Data Matters Series: machine learning and Deep Learning, A Primer
MDEC Data Matters Series: machine learning and Deep Learning, A Primer
 
Data Science Consulting at ThoughtWorks -- NYC Open Data Meetup
Data Science Consulting at ThoughtWorks -- NYC Open Data MeetupData Science Consulting at ThoughtWorks -- NYC Open Data Meetup
Data Science Consulting at ThoughtWorks -- NYC Open Data Meetup
 
Presentation Selan dos Santos 4Eyes Lab
Presentation Selan dos Santos 4Eyes LabPresentation Selan dos Santos 4Eyes Lab
Presentation Selan dos Santos 4Eyes Lab
 
Putting the Magic in Data Science
Putting the Magic in Data SciencePutting the Magic in Data Science
Putting the Magic in Data Science
 
Introduction to Big Data and its Potential for Dementia Research
Introduction to Big Data and its Potential for Dementia ResearchIntroduction to Big Data and its Potential for Dementia Research
Introduction to Big Data and its Potential for Dementia Research
 
WCG7 (assembled)
WCG7 (assembled)WCG7 (assembled)
WCG7 (assembled)
 
brain_tumor_detection.pptxdsksv dkvdksvbkdsk
brain_tumor_detection.pptxdsksv dkvdksvbkdskbrain_tumor_detection.pptxdsksv dkvdksvbkdsk
brain_tumor_detection.pptxdsksv dkvdksvbkdsk
 
H2O intro at Dallas Meetup
H2O intro at Dallas MeetupH2O intro at Dallas Meetup
H2O intro at Dallas Meetup
 
TraitCapture: NextGen Monitoring and Visualization from seed to ecosystem
TraitCapture: NextGen Monitoring and Visualization from seed to ecosystemTraitCapture: NextGen Monitoring and Visualization from seed to ecosystem
TraitCapture: NextGen Monitoring and Visualization from seed to ecosystem
 
Deep learning introduction
Deep learning introductionDeep learning introduction
Deep learning introduction
 
Deep learning health care
Deep learning health care  Deep learning health care
Deep learning health care
 
Data-driven hypothesis generation using deep neural nets
Data-driven hypothesis generation using deep neural netsData-driven hypothesis generation using deep neural nets
Data-driven hypothesis generation using deep neural nets
 
GTU GeekDay 2019 Limitations of Artificial Intelligence
GTU GeekDay 2019 Limitations of Artificial IntelligenceGTU GeekDay 2019 Limitations of Artificial Intelligence
GTU GeekDay 2019 Limitations of Artificial Intelligence
 
Ml - A shallow dive
Ml  - A shallow diveMl  - A shallow dive
Ml - A shallow dive
 

Dernier

General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...Poonam Aher Patil
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentationcamerronhm
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - Englishneillewis46
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Association for Project Management
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structuredhanjurrannsibayan2
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...pradhanghanshyam7136
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfSherif Taha
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.christianmathematics
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin ClassesCeline George
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024Elizabeth Walsh
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSCeline George
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibitjbellavia9
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxVishalSingh1417
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxAmanpreet Kaur
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...ZurliaSoop
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxVishalSingh1417
 

Dernier (20)

General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 

Julian - diagnosing heart disease using convolutional neural networks

  • 2. Introduction • Julian de Wit • Freelancer software / machine learning • MSc. Software engineering • Love biologically inspired computing • Last few years neural net “revolution” • Turn academic ideas into practical apps • Documents, plant/fruit grading, Medical, radar
  • 3. Agenda 1. Diagnose heart disease challenge 2. Deep learning 3. Solution discussion 4. Results 5. Some extra slides 6. Feel free to ask questions during talk !
  • 4. Challenge • Second national data science bowl • Kaggle.com / Booz Allen Hamilton • Automate manual 30min clinical procedure • Ca. 500.000 cases/year in USA • Estimate heart volume based on MRI’s • Ratio systole/diastole is ‘health’ predictor • 750 teams • $200.000 prize money
  • 5. Challenge • Kaggle.com • Competition platform for ‘data scientists’ • Challenges hosted for companies • Prize money and exposure • 400.000+ registered users • Learn: Always someone smarter than you ! • Today’s state of the art is tomorrow’s baseline!
  • 6. Challenge • Given: MRI’s, metadata, train-volumes • Train 700, Test: 1000 patients, 300.000+ imgs • Estimate volume of left ventricle
  • 7. Deep learning • Image data → Deep Learning (CNN) • Neural networks 2.0 • Don’t believe ALL the hype • Structured data → feature engineering + Tree/Lin • Great when “perception” data is involved • Spectacular results with image analysis • My take: “Super human” with a twist
  • 8. Solution • Step 1: Preprocessing • Use DICOM info to make images uniform • Crop around heart 180x180 (less distractions) • For my solution less class imbalance • Local contrast enhancement (CLAHE)
  • 9. Solution 123ml • Step 2: Train deep neural net • Standard option: Regression with ‘Vanilla’ architecture. • Approach used by most teams (ie. #2 Ghent university) • Input slices, regress on provided volumes
  • 10. Solution • Less publicized approach (mine): Segment images. • Integrate estimated areas into volume using metadata. • Problem: ‘No annotations provided.’ Sunnybrook/hand
  • 11. Solution • Segmentation : Traditional architecture bad fit • Every layer is higher level features less spatial info (BOW) • Per pixel classification possible coarse due to spatial loss • Cumbersome! H x W x 300.000 classifications.
  • 12. Solution • Segmentation : Fully convolutional architecture + upscale • Efficient. Classify all pixels at once • Still problem spatial bottleneck at bottom : coarse
  • 13. Solution • Segmentation : U-net architecture • Skip connection give more detail in segmentation output • Author works at Deepmind health now • Resnet-like ?!?
  • 14. Solution • Segmentation results impressive. • Machine did exactly what it was told. • Confused with uncommon examples < 1%. • Remedy : Active learning • Nice property : brightness == (un)certainty
  • 15. Solution • Last step: Integrate to volume.. should be simple • Devil was in the details PER PIXEL SEGMENTATION LEFT VENTRICLE Y/N SUM ALL PIXELS AND USE DICOM INFO TO GET TO ML 100ML ... ... ... ... n slices n overlays
  • 16. Solution • Devil in details: MUCH data cleaning • Slice order • Missing slices • Out of bound slices • Wrong orientation • Missing frames • BAD ground truth volumes • Gradient boosting “calibration” procedure • Not relevant in real setting. Just rescan MRI.
  • 17. Results • Result: • 3rd place • Only 1 model. No ensemble. • Sub 10ml MAE → clinically significant • Many improvements possible : • More, cleaner train data • Expert annotations • Active learning
  • 18. Appendix 1. • Other approaches • #1 Similar + 9 extra models Segmentation, age, 4-chamber, regression on images etc. • #2 Traditional, 250!! Models Dynamic ensemble per patient “Cool” end-to-end model
  • 19. Appendix 2. • U-nets and state of the art • Potential successor dilated convolutions. • No more bottleneck. • Somewhat easier to use. • Small improvements for personal project. • Jury is still out. • Kaggle: Ultrasound nerve segmentation • U-nets was baseline and best solution. • FCN also worked. • No significant “discoveries” • Dilated convolutions did not seem to work,
  • 20. Appendix 3. • Medical images challenges • Deep learning => success • Example: Kaggle retinopathy challenge • As good as doctor (better in combination) • Google deepmind (Jeffry De Fauw=Kaggler) • Many other companies “copied” the solution
  • 21. Summary • Deep learning for medical imaging
  • 22.
  • 24. Diagnosing heart diseases with deep neural networks
  • 25. Competition • Kaggle.com • Competition platform for ‘data scientists’ • Challenges hosted for companies • Prize money and exposure • 400.000+ registered competitors • Learn. Always someone smarter than you ! • Today’s state of the art is tomorrow’s baseline!
  • 26. My background • Julian de Wit • Freelancer software / machine learning • Technical University Delft : SE • Biologically inspired computing / AI • Since 2006 heavily re-interested in neural nets • Looking for opportunities to test and bring in practice
  • 27. Approach n slices n overlays PER PIXEL SEGMENTATI ON LEFT VENTRICLE Y/N CLEAN DATA & SUM ... ... ... ... PROVIDED VOLUMES CALIBRATE 110ML
  • 28. Calibration • Use provided volumes to calibrate • Remove systematic errors • Use Gradient Booster on residuals • Top 5 -> top 3 • Beware of overfitting
  • 29. Approach • Every pixel: Left ventricle Yes/No • Use convolutional neural network • Sunnybrook too simplistic • Train with hand-labeled segmentations • Reverse engineer how to label • Fix systematic errors with calibration against provided volumes.
  • 32. Labeling • Hand labeling with own tool • Big performance limiting factor • Could not find how to do it exactly
  • 33. Cat!
  • 34. Cat !
  • 35. Grass
  • 36.
  • 37.
  • 38. Submission • CRPS • Uncertainty based on stdev in error as a function of size. • Model provided uncertainty. • However does not account for uncertainty in labels • Example: patient 429. Error of 89ml !!! • Provided label was wrong…