SlideShare uma empresa Scribd logo
1 de 12
Baixar para ler offline
Alexandre Gramfort
http://alexandre.gramfort.net
http://scikit-learn.org
“Lire dans les pensées avec Scikit-Learn”
“Mind Reading with Scikit-Learn”
Paris Machine Learning Meetup - Sept. 2013
Alexandre Gramfort Mind Reading with the Scikit-Learn
Basics of Functional MRI (fMRI)
2
Oxy. Hb
Deoxy. Hb
Neurons
3D volumes
(1 every 1 or 2s)
High spatial
resolution
(vox ⋍ 2mm)
Scanner
Nuclear
Magnetic
Resonance
courtesy of GaelVaroquauxhttp://www.youtube.com/watch?v=uhCF-zlk0jY
Alexandre Gramfort Mind Reading with the Scikit-Learn
Learning from fMRI
4
Image,
sound, task
fMRI volumes
Challenge: Learn and Predict from the fMRI data
scanning
Machine Learningstim
Any variable:
healthy?
Alexandre Gramfort Mind Reading with the Scikit-Learn
Result from Miyawaki et al. Neuron 2008
5
http://www.youtube.com/watch?v=h1Gu1YSoDaY
Alexandre Gramfort Mind Reading with the Scikit-Learn
Result from Miyawaki et al. Neuron 2008
6
• Some details about the data:
• 2h of scanning
• 1 image for 12s then 12s of rest
• 800MB of raw data (200MB compressed)
• 5,000 good voxels
Alexandre Gramfort Mind Reading with the Scikit-Learn
Result from Nishimoto et al. 2011
7
http://www.youtube.com/watch?v=nsjDnYxJ0bo
Alexandre Gramfort Mind Reading with the Scikit-Learn
Result from Nishimoto et al. 2011
8
• Some details about the data:
• 30GB of stimuli (15 frames/s in .png for 3h)
• about 4,000 volumes
• about 10GB of raw data
• 30,000 “good” voxels
• > 3h in the scanner
Alexandre Gramfort Mind Reading with the Scikit-Learn
Classification example with fMRI
9
!!"#$%&'()*+,-#./
0123(%45678*###############################3(%45678*-#9:#;+*"#/:9:#
<=+))8>8&+?85*#@#748*&87=()
67+&(#5>#?'(#A4+8*#>(+?%4()#BC%=?8D+48+?(E
!"#$$%&'()*'+)#,-.
FG4(H8&?#%*)((*#B?()?E#8C+I(@######54
F<5C7+4(#74(H8&?(H#=+A(=#J8?'#?4%(#?+4I(?
K
L8D(*#+#?4+8*8*I#H+?+#)(?#@#7+84)
5>#B>(+?%4()-#=+A(=E-#(/'",#?'(#
&'+4+&?(48)?8&#5>#(+&'#&+?(I54,#8*#
?'(#>(+?%4(#)7+&(@
F.*#?'8)#&+)(#74(H8&?(H#M#?4%(#
FN(7(+?#>54#+==#)+C7=()
FOD(4+I(
!./
0123(%45678*###############################3(%45678*-#9:#;+*"#/:9:#
!"#$$%&'()*'+)#,-.
FG4(H8&?#%*)((*#B?()?E#8C+I(@######54
F<5C7+4(#74(H8&?(H#=+A(=#J8?'#?4%(#?+4I(?
F.*#?'8)#&+)(#74(H8&?(H#M#?4%(#
FN(7(+?#>54#+==#)+C7=()
FOD(4+I(
The objective is to be able
to predict
given an fMRI volume
!5678*###############################3(%45678*-#9:#;+*"#/:9:#
!"#$$%&'()*'+)#,-.
FG4(H8&?#%*)((*#B?()?E#8C+I(@######54
F<5C7+4(#74(H8&?(H#=+A(=#J8?'#?4%(#?+4I(?
?'(#>(+?%4(#)7+&(@
F.*#?'8)#&+)(#74(H8&?(H#M#?4%(#
FN(7(+?#>54#+==#)+C7=()
FOD(4+I(
ie.
objective: Predict giveny = { 1, 1} x 2 Rp
y = { 1, 1}
!+,-#./
0123(%45678*###############################3(%45678*-#9:#;+*"#/:9:#
!"#$$%&'()*'+)#,-.
FG4(H8&?#%*)((*#B?()?E#8C+I(@######54
F<5C7+4(#74(H8&?(H#=+A(=#J8?'#?4%(#?+4I(?
?'(#>(+?%4(#)7+&(@
F.*#?'8)#&+)(#74(H8&?(H#M#?4%(#
FN(7(+?#>54#+==#)+C7=()
FOD(4+I(
Patient Controlsvs.
Faces Housesvs.
... ...vs.
1 -1vs.
Demo on
Haxby et al. Science 2001
Challenge: Predict the object category viewed
Sample stimuli:
Face House Chair Shoe
Alexandre Gramfort Mind Reading with the Scikit-Learn
Miyawaki et al. 2008 with Scikit-Learn
11
< 250 Lines of codes
Alexandre Gramfort
alexandre.gramfort@telecom-paristech.fr
http://alexandre.gramfort.net
http://www.github.com/agramfort
@agramfort
Contact:

Mais conteúdo relacionado

Mais de agramfort

MNE sapien labs 2019
MNE sapien labs 2019MNE sapien labs 2019
MNE sapien labs 2019agramfort
 
MAIN Conf Talk: Learning representations from neural signals
MAIN Conf Talk: Learning representations from neural signalsMAIN Conf Talk: Learning representations from neural signals
MAIN Conf Talk: Learning representations from neural signalsagramfort
 
SfN 2018: Machine learning and signal processing for neural oscillations
SfN 2018: Machine learning and signal processing for neural oscillationsSfN 2018: Machine learning and signal processing for neural oscillations
SfN 2018: Machine learning and signal processing for neural oscillationsagramfort
 
ICML 2018 Reproducible Machine Learning - A. Gramfort
ICML 2018 Reproducible Machine Learning - A. GramfortICML 2018 Reproducible Machine Learning - A. Gramfort
ICML 2018 Reproducible Machine Learning - A. Gramfortagramfort
 
MNE group analysis presentation @ Biomag 2016 conf.
MNE group analysis presentation @ Biomag 2016 conf.MNE group analysis presentation @ Biomag 2016 conf.
MNE group analysis presentation @ Biomag 2016 conf.agramfort
 
Teaching ML with scikit-learn at Telecom ParisTech
Teaching ML with scikit-learn at Telecom ParisTechTeaching ML with scikit-learn at Telecom ParisTech
Teaching ML with scikit-learn at Telecom ParisTechagramfort
 
Anomaly/Novelty detection with scikit-learn
Anomaly/Novelty detection with scikit-learnAnomaly/Novelty detection with scikit-learn
Anomaly/Novelty detection with scikit-learnagramfort
 

Mais de agramfort (7)

MNE sapien labs 2019
MNE sapien labs 2019MNE sapien labs 2019
MNE sapien labs 2019
 
MAIN Conf Talk: Learning representations from neural signals
MAIN Conf Talk: Learning representations from neural signalsMAIN Conf Talk: Learning representations from neural signals
MAIN Conf Talk: Learning representations from neural signals
 
SfN 2018: Machine learning and signal processing for neural oscillations
SfN 2018: Machine learning and signal processing for neural oscillationsSfN 2018: Machine learning and signal processing for neural oscillations
SfN 2018: Machine learning and signal processing for neural oscillations
 
ICML 2018 Reproducible Machine Learning - A. Gramfort
ICML 2018 Reproducible Machine Learning - A. GramfortICML 2018 Reproducible Machine Learning - A. Gramfort
ICML 2018 Reproducible Machine Learning - A. Gramfort
 
MNE group analysis presentation @ Biomag 2016 conf.
MNE group analysis presentation @ Biomag 2016 conf.MNE group analysis presentation @ Biomag 2016 conf.
MNE group analysis presentation @ Biomag 2016 conf.
 
Teaching ML with scikit-learn at Telecom ParisTech
Teaching ML with scikit-learn at Telecom ParisTechTeaching ML with scikit-learn at Telecom ParisTech
Teaching ML with scikit-learn at Telecom ParisTech
 
Anomaly/Novelty detection with scikit-learn
Anomaly/Novelty detection with scikit-learnAnomaly/Novelty detection with scikit-learn
Anomaly/Novelty detection with scikit-learn
 

Último

Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsNanddeep Nachan
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Zilliz
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...Zilliz
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusZilliz
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Jeffrey Haguewood
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024The Digital Insurer
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxRustici Software
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native ApplicationsWSO2
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024The Digital Insurer
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...apidays
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistandanishmna97
 

Último (20)

Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 

Paris machine learning meetup 17 Sept. 2013

  • 1. Alexandre Gramfort http://alexandre.gramfort.net http://scikit-learn.org “Lire dans les pensées avec Scikit-Learn” “Mind Reading with Scikit-Learn” Paris Machine Learning Meetup - Sept. 2013
  • 2. Alexandre Gramfort Mind Reading with the Scikit-Learn Basics of Functional MRI (fMRI) 2 Oxy. Hb Deoxy. Hb Neurons 3D volumes (1 every 1 or 2s) High spatial resolution (vox ⋍ 2mm) Scanner Nuclear Magnetic Resonance
  • 4. Alexandre Gramfort Mind Reading with the Scikit-Learn Learning from fMRI 4 Image, sound, task fMRI volumes Challenge: Learn and Predict from the fMRI data scanning Machine Learningstim Any variable: healthy?
  • 5. Alexandre Gramfort Mind Reading with the Scikit-Learn Result from Miyawaki et al. Neuron 2008 5 http://www.youtube.com/watch?v=h1Gu1YSoDaY
  • 6. Alexandre Gramfort Mind Reading with the Scikit-Learn Result from Miyawaki et al. Neuron 2008 6 • Some details about the data: • 2h of scanning • 1 image for 12s then 12s of rest • 800MB of raw data (200MB compressed) • 5,000 good voxels
  • 7. Alexandre Gramfort Mind Reading with the Scikit-Learn Result from Nishimoto et al. 2011 7 http://www.youtube.com/watch?v=nsjDnYxJ0bo
  • 8. Alexandre Gramfort Mind Reading with the Scikit-Learn Result from Nishimoto et al. 2011 8 • Some details about the data: • 30GB of stimuli (15 frames/s in .png for 3h) • about 4,000 volumes • about 10GB of raw data • 30,000 “good” voxels • > 3h in the scanner
  • 9. Alexandre Gramfort Mind Reading with the Scikit-Learn Classification example with fMRI 9 !!"#$%&'()*+,-#./ 0123(%45678*###############################3(%45678*-#9:#;+*"#/:9:# <=+))8>8&+?85*#@#748*&87=() 67+&(#5>#?'(#A4+8*#>(+?%4()#BC%=?8D+48+?(E !"#$$%&'()*'+)#,-. FG4(H8&?#%*)((*#B?()?E#8C+I(@######54 F<5C7+4(#74(H8&?(H#=+A(=#J8?'#?4%(#?+4I(? K L8D(*#+#?4+8*8*I#H+?+#)(?#@#7+84) 5>#B>(+?%4()-#=+A(=E-#(/'",#?'(# &'+4+&?(48)?8&#5>#(+&'#&+?(I54,#8*# ?'(#>(+?%4(#)7+&(@ F.*#?'8)#&+)(#74(H8&?(H#M#?4%(# FN(7(+?#>54#+==#)+C7=() FOD(4+I( !./ 0123(%45678*###############################3(%45678*-#9:#;+*"#/:9:# !"#$$%&'()*'+)#,-. FG4(H8&?#%*)((*#B?()?E#8C+I(@######54 F<5C7+4(#74(H8&?(H#=+A(=#J8?'#?4%(#?+4I(? F.*#?'8)#&+)(#74(H8&?(H#M#?4%(# FN(7(+?#>54#+==#)+C7=() FOD(4+I( The objective is to be able to predict given an fMRI volume !5678*###############################3(%45678*-#9:#;+*"#/:9:# !"#$$%&'()*'+)#,-. FG4(H8&?#%*)((*#B?()?E#8C+I(@######54 F<5C7+4(#74(H8&?(H#=+A(=#J8?'#?4%(#?+4I(? ?'(#>(+?%4(#)7+&(@ F.*#?'8)#&+)(#74(H8&?(H#M#?4%(# FN(7(+?#>54#+==#)+C7=() FOD(4+I( ie. objective: Predict giveny = { 1, 1} x 2 Rp y = { 1, 1} !+,-#./ 0123(%45678*###############################3(%45678*-#9:#;+*"#/:9:# !"#$$%&'()*'+)#,-. FG4(H8&?#%*)((*#B?()?E#8C+I(@######54 F<5C7+4(#74(H8&?(H#=+A(=#J8?'#?4%(#?+4I(? ?'(#>(+?%4(#)7+&(@ F.*#?'8)#&+)(#74(H8&?(H#M#?4%(# FN(7(+?#>54#+==#)+C7=() FOD(4+I( Patient Controlsvs. Faces Housesvs. ... ...vs. 1 -1vs.
  • 10. Demo on Haxby et al. Science 2001 Challenge: Predict the object category viewed Sample stimuli: Face House Chair Shoe
  • 11. Alexandre Gramfort Mind Reading with the Scikit-Learn Miyawaki et al. 2008 with Scikit-Learn 11 < 250 Lines of codes