Upgrade to PRO for Only $50/Year—Limited-Time Offer! 🔥
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
PyCon India - Commodity Machine Learning; past,...
Search
Andreas Mueller
September 25, 2016
0
2.7k
PyCon India - Commodity Machine Learning; past, present and future
PyCon India 2016 keynote
Andreas Mueller
September 25, 2016
Tweet
Share
More Decks by Andreas Mueller
See All by Andreas Mueller
Automating Machine Learning
amueller
4
1.1k
Engineering Scikit-Learn V2
amueller
0
290
Advanced Machine Learning with Scikit-Learn for Pycon Amsterdam
amueller
0
280
Scikit-learn: New project features in 0.17
amueller
0
120
Bootstrapping machine learning
amueller
0
140
PyData Berlin 2014 Keynote: Commodity machine learnin
amueller
0
170
Advanced Machine Learning with Scikit-Learn
amueller
1
680
Machine Learning With Scikit-Learn ODSC SF 2015
amueller
4
1.7k
Machine Learning With Scikit-Learn - Pydata Strata NYC 2015
amueller
1
3k
Featured
See All Featured
Building a Scalable Design System with Sketch
lauravandoore
463
34k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
7.9k
Optimising Largest Contentful Paint
csswizardry
37
3.5k
Designing Experiences People Love
moore
143
24k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
31
3k
BBQ
matthewcrist
89
9.9k
Rails Girls ZĂĽrich Keynote
gr2m
95
14k
Making Projects Easy
brettharned
120
6.5k
Learning to Love Humans: Emotional Interface Design
aarron
274
41k
Art, The Web, and Tiny UX
lynnandtonic
304
21k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
286
14k
Scaling GitHub
holman
464
140k
Transcript
Commodity Machine Learning Past, present and future Andreas Mueller
What is machine learning?
Automatic Decision Making Spam? Yes No
Spam? Yes No
Programming Machine Learning
Machine learning is EVERYWHERE
None
None
None
Science Engineering Medicine ...
Commodity machine learning
past
+
None
dawn of open source tools...
The age of shell
Documentation? Testing?
Scikit-learn: User centric machine learning
.fit(X, y) .predict(X) .transform(X)
present
Choose your ecosystem.
Open! Documented! Tested!
Usability is key!
ML Frameworks PyMC, Edward, Stan theano, tensorflow, keras
None
from sklearn.model_selection import GridSearchCV from sklearn.pipeline import Pipeline
github.com/scikitÂlearnÂcontrib/scikitÂlearnÂcontrib
(near) Future
pip install scikitÂlearn==0.18rc2 0.18 for the release candidate:
sklearn.cross_validation sklearn.grid_search sklearn.learning_curve sklearn.model_selection
results = pd.DataFrame(grid_search.results_)
labels → groups n_folds → n_splits
from sklearn.cross_validation import KFold cv = KFold(n_samples, n_folds) for train,
test in cv: ... from sklearn.model_selection import KFold cv = KFold(n_folds) for train, test in cv.split(X, y): ...
from sklearn.mixture import GaussianMixture from sklearn.mixture import BayesianGaussianMixture
PCA() RandomizedPCA() PCA()
Gaussian Process Rewrite
Isolation Forests
Play from sklearn.neural_network import MLPClassifier Work import keras
pipe = Pipeline([('preprocessing', StandardScaler()), ('classifier', SVC())]) param_grid = {'preprocessing': [StandardScaler(),
None]} grid = GridSearchCV(pipe, param_grid)
40
(further) Future
Feature / Column names
from __future__ import sklearn.plotting
from __future__ import AutoClassifier
More Transparency
amueller.github.io @amuellerml @amueller
[email protected]