Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Best Practices for Using Machine Learning in Bu...
Search
szilard
November 04, 2018
130
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Best Practices for Using Machine Learning in Businesses in 2018 - Keynote at Budapest BI Forum Conference - Budapest, November 2018
szilard
November 04, 2018
More Decks by szilard
See All by szilard
Gradient Boosting Machines (GBM): From Zero to Hero (with R and Python Code) - Data Con LA - Oct 2020
szilard
0
250
Make Machine Learning Boring Again: Best Practices for Using Machine Learning in Businesses - Albuquerque Machine Learning Meetup (Online) - Aug 2020
szilard
0
180
Better than Deep Learning: Gradient Boosting Machines (GBM) - eRum conference - invited talk - June 2020
szilard
0
160
Gradient Boosting Machines (GBM): From Zero to Hero (with R and Python Code) - LA Data Science Meetup - February 2020
szilard
0
150
A Random Walk in Data Science and Machine Learning in Practice - CEU, Business Analytics Masters - Budapest, Febr 2020
szilard
0
350
Better than My Meetup/Conference Talks: Going Deeper in Various GBM Topics - GBM Advanced Workshop - Budapest, Nov 2019
szilard
0
130
Gradient Boosting Machines (GBM): From Zero to Hero (with R and Python Code) - Budapest BI Forum, Budapest, Nov 2019
szilard
0
180
Make Machine Learning Boring Again: Best Practices for Using Machine Learning in Businesses - LA Data Science Meetup - Playa Vista, August 2019
szilard
0
160
Better than Deep Learning: Gradient Boosting Machines (GBM) / 2019 edition - Budapest R and Data Science Meetups - Budapest, June 2019
szilard
0
140
Featured
See All Featured
What does AI have to do with Human Rights?
axbom
PRO
1
2.4k
Skip the Path - Find Your Career Trail
mkilby
1
240
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1.3k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
232
55k
SEO for Brand Visibility & Recognition
aleyda
0
4.8k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.6k
Principles of Awesome APIs and How to Build Them.
keavy
128
18k
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
3
4.3k
How to build a perfect <img>
jonoalderson
1
6.1k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
What Being in a Rock Band Can Teach Us About Real World SEO
427marketing
0
1.1k
Code Review Best Practice
trishagee
74
20k
Transcript
Best Practices for Using Machine Learning in Businesses in 2018
Szilárd Pafka, PhD Chief Scientist, Epoch (USA) Budapest BI Forum Conference November 2018
None
Disclaimer: I am not representing my employer (Epoch) in this
talk I cannot confirm nor deny if Epoch is using any of the methods, tools, results etc. mentioned in this talk
https://twitter.com/baroquepasa/
None
None
None
None
None
y = f (x1, x2, ... , xn) Source: Hastie
etal, ESL 2ed
y = f (x1, x2, ... , xn)
None
Source: Yann LeCun
None
2018?
2018?
#1 Use the Right Algo
Source: Andrew Ng
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
*
#2 Use Open Source
None
None
None
None
None
in 2006 - cost was not a factor! - data.frame
- [800] packages
None
None
None
None
None
#3 Simple > Complex
None
10x
None
None
None
None
None
None
None
None
#4 Incorporate Domain Knowledge Do Feature Engineering (Still) Explore Your
Data Clean Your Data
None
None
None
None
None
None
None
None
None
None
None
#5 Do Proper Validation Avoid: Overfitting, Data Leakage
None
None
None
None
None
None
None
None
None
None
None
None
None
None
#6 Batch or Real-Time Scoring?
None
https://medium.com/@HarlanH/patterns-for-connecting-predictive-models-to-software-products-f9b6e923f02d
https://medium.com/@dvelsner/deploying-a-simple-machine-learning-model-in-a-modern-web-application-flask-angular-docker-a657db075280 your app
None
None
R/Python: - Slow(er) - Encoding of categ. variables
#7 Do Online Validation as Well
None
https://www.oreilly.com/ideas/evaluating-machine-learning-models/page/2/orientation
https://www.oreilly.com/ideas/evaluating-machine-learning-models/page/2/orientation
https://www.oreilly.com/ideas/evaluating-machine-learning-models/page/2/orientation https://www.slideshare.net/FaisalZakariaSiddiqi/netflix-recommendations-feature-engineering-with-time-travel
#8 Monitor Your Models
None
https://www.retentionscience.com/blog/automating-machine-learning-monitoring-rs-labs/
https://www.retentionscience.com/blog/automating-machine-learning-monitoring-rs-labs/
None
20% 80% (my guess)
20% 80% (my guess)
#9 Business Value Seek / Measure / Sell
None
None
None
None
None
#10 Make it Reproducible
None
None
None
None
None
None
None
None
None
Cloud (servers)
ML training: lots of CPU cores lots of RAM limited
time
ML training: lots of CPU cores lots of RAM limited
time ML scoring: separated servers
ML (cloud) services (MLaaS)
None
“people that know what they’re doing just use open source
[...] the same open source tools that the MLaaS services offer” - Bradford Cross
Kaggle
None
already pre-processed data less domain knowledge (or deliberately hidden) AUC
0.0001 increases "relevant" no business metric no actual deployment models too complex no online evaluation no monitoring data leakage
Tuning and Auto ML
Ben Recht, Kevin Jamieson: http://www.argmin.net/2016/06/20/hypertuning/
GPUs
Aggregation 100M rows 1M groups Join 100M rows x 1M
rows time [s] time [s]
Aggregation 100M rows 1M groups Join 100M rows x 1M
rows time [s] time [s] “Motherfucka!”
None
API and GUIs
None
None
AI?
None
None
None
How to Start?
None
None