![Page 1: Benefits of using scikit-learn for a machine learning](https://reader036.vdocuments.site/reader036/viewer/2022062502/62b00e0873ac427bb9448c68/html5/thumbnails/1.jpg)
Benefits of using scikit-learn for amachine learning researcher and instructorChloé-Agathe Azencott
CBIO, Mines ParisTech – Institut Curie – INSERM U900, Paris (France)
June 15, 2016 – Scikit Learn Day
http://cazencott.info [email protected] @cazencott
![Page 2: Benefits of using scikit-learn for a machine learning](https://reader036.vdocuments.site/reader036/viewer/2022062502/62b00e0873ac427bb9448c68/html5/thumbnails/2.jpg)
Precision medicine
I Treatment adapted to (genetic) specificities of the patient.
I Data-driven biology / medicineIdentify similarities between patients that exhibit similar susceptibilities / prognoses /responses to treatment.
Develop machine learning methods to determinewhich genetic markers are most relevant to a given trait.
1
![Page 3: Benefits of using scikit-learn for a machine learning](https://reader036.vdocuments.site/reader036/viewer/2022062502/62b00e0873ac427bb9448c68/html5/thumbnails/3.jpg)
Research with scikit-learn
2
![Page 4: Benefits of using scikit-learn for a machine learning](https://reader036.vdocuments.site/reader036/viewer/2022062502/62b00e0873ac427bb9448c68/html5/thumbnails/4.jpg)
What I use scikit-learn for (in research)
I data preprocessingsklearn.preprocessing
I cross-validation toolssklearn.cross_validation
I performance metricssklearn.metrics
I baseline algorithmssklearn.linear_model,sklearn.svm,sklearn.ensemble
For more, see my talk last year at PyData.https://www.youtube.com/watch?v=
IpK9GeYs_KA
3
![Page 5: Benefits of using scikit-learn for a machine learning](https://reader036.vdocuments.site/reader036/viewer/2022062502/62b00e0873ac427bb9448c68/html5/thumbnails/5.jpg)
Why I use scikit-learn (in research)
To avoid reinventing the wheel while introducing bugs.
I scikit-learn does things I needI I trust scikit-learn to do them right.
4
![Page 6: Benefits of using scikit-learn for a machine learning](https://reader036.vdocuments.site/reader036/viewer/2022062502/62b00e0873ac427bb9448c68/html5/thumbnails/6.jpg)
Teaching with scikit-learn
5
![Page 7: Benefits of using scikit-learn for a machine learning](https://reader036.vdocuments.site/reader036/viewer/2022062502/62b00e0873ac427bb9448c68/html5/thumbnails/7.jpg)
Generating examples for lectures
Example: Linear regression (p=1000, n=100, 10 causal features)
6
![Page 8: Benefits of using scikit-learn for a machine learning](https://reader036.vdocuments.site/reader036/viewer/2022062502/62b00e0873ac427bb9448c68/html5/thumbnails/8.jpg)
Labs and projets
I For machine learning students
7
![Page 9: Benefits of using scikit-learn for a machine learning](https://reader036.vdocuments.site/reader036/viewer/2022062502/62b00e0873ac427bb9448c68/html5/thumbnails/9.jpg)
Labs and projects
I For machine learning studentsI SVM micro-project
8
![Page 10: Benefits of using scikit-learn for a machine learning](https://reader036.vdocuments.site/reader036/viewer/2022062502/62b00e0873ac427bb9448c68/html5/thumbnails/10.jpg)
Labs and projects
I For bioinformatics studentsI Biological data analysis micro-projects
9
![Page 11: Benefits of using scikit-learn for a machine learning](https://reader036.vdocuments.site/reader036/viewer/2022062502/62b00e0873ac427bb9448c68/html5/thumbnails/11.jpg)
Labs and projects
I For bioinformatics studentsI MSc Internship
Validation of an existing method, by a student previously mostly unfamiliar with machinelearning
10
![Page 12: Benefits of using scikit-learn for a machine learning](https://reader036.vdocuments.site/reader036/viewer/2022062502/62b00e0873ac427bb9448c68/html5/thumbnails/12.jpg)
Why I use scikit-learn (for teaching)
I scikit-learn teaches pratice.
I Ease of use and pedagogicalvalue:I Detailed documentationI Multiple tutorialsI Fiability.
I Jupyter Notebooks.
11
![Page 13: Benefits of using scikit-learn for a machine learning](https://reader036.vdocuments.site/reader036/viewer/2022062502/62b00e0873ac427bb9448c68/html5/thumbnails/13.jpg)
Thinking about the future
I Creating labs with Jupyter & scikit-learn?I Lecturing with Jupyter notebooks?Example: https://github.com/justmarkham/scikit-learn-videos/blob/master/05_model_evaluation.ipynb
12