SlideShare a Scribd company logo
1 of 45
Download to read offline
From Theory
to Production
#TeamAwesome
Agile
Machine
Learning
Who am I?
CTO @ Basement Crowd
rob_hinds
robhinds
Agile Machine LearningAgile Machine Learning
Why should you care?
“Your AI will be a
key point of
distinction for
your business”
Accenture - Technology Visions 2017
“Products that don’t
use [AI or ML] will die a
natural death”
Manish Singhal - Forbes India
62%
Percentage of organizations expecting to be using AI Technologies by 2018
Narrative Science - Outlook on Artificial Intelligence in the Enterprise 2016
https://spectrum.ieee.org/computing/software/the-2017-top-programming-languages
https://insights.stackoverflow.com/survey/2017
DON’T
BELIEVE
THE
HYPE
“The first wave of
corporate AI is
doomed to fail”
Harvard Business Review - The First Wave of Corporate AI Is Doomed to Fail
So, what can we do?
Sensible engineering &
product design
principles are the key
Product
Thinking
for Machine
Learning
https://www.useronboard.com/features-vs-benefits/
Machine Learning !=
Your Product
Is Machine Learning
part of your MVP?
Is your
Machine Learning
Mission Critical?
https://spectrum.ieee.org/automaton/robotics/artificial-intelligence/how-google-self-driving-car-works
Data
(photo)
Machine Learning
(suggested tags)
Curation
(creator)
Customers
(consumers)
3 Principles:
1) Don’t build Machine Learning for the sake of it
2) Do you need ML in your MVP to test product
market fit?
3) Is your ML mission critical?
“a right to explanation”
GDPR: Article 22
Engineering Thinking
for Machine Learning
It’s still just
Engineering
Clean code
Testing
Modularity
ML Anti-Patterns:
Dead experiment code - Configuration debt
Code glue - Pipeline jungles
Sculley, D., et al. "Hidden technical debt in machine learning systems."
“Glue code and pipeline jungles are
symptomatic of integration issues that may
have a root cause in overly separated
‘research’ and ‘engineering’ roles”
Sculley, D., et al. "Hidden technical debt in machine learning systems."
Agile Thinking for
Machine Learning
Research sprints
Build > Measure > Learn
Eric Ries - The Lean Startup
Simple Rule based
Traditional off-the-shelf libraries
Deep Learning & Sophisticated ML pipelines
Agile Machine LearningAgile Machine Learning
Text ➡ Numbers
Text ➡ Numbers
AI
pretends
to
fail
Turing
Test.
3
145
82
31
96
733
Bag-of-Words
https://en.wikipedia.org/wiki/Bag-of-words_model
Text ➡ Numbers
AI
pretends
to
fail
Turing
Test.
[1.25,...,3.58]
[0.05,...,0.07]
[45.8,...,9.70]
[0.78,...,10.1]
[100.1,...,7.8]
[445.1,...,2.1]
word2vec
https://www.tensorflow.org/tutorials/word2vec
Demo
Theory to Production
Choosing your stack
Available skills set
Existing knowledge & tech stack
Hiring pool
Modern architecture &
cloud technology
makes ML deployment
easier
Photo by frank mckenna on Unsplash
https://pbs.twimg.com/media/C4vf8SQUcAALCyl.jpg
AWS
nginx
Zuul (Edge
server)
Eureka (service
registry)
Recommendation
Service
Movies Service
Take aways
● Approach it with the rigour and principles of any other
engineering product
● De-risk the cost of failure with sensible product
management
● Engineer sensibly!
● Use tried and tested build (CI) and deployment
approaches
Thanks!
(any questions?)
References
1. https://resources.narrativescience.com/Resources/Resource-Library/Article-Detail-Page/announcing
-our-new-research-report-outlook-on-artificial-intelligence-in-the-enterprise-2016
2. https://www.accenture.com/us-en/insight-disruptive-technology-trends-2017
3. http://fortune.com/2016/06/03/tech-ceos-artificial-intelligence
4. https://hbr.org/2017/04/the-first-wave-of-corporate-ai-is-doomed-to-fail
5. http://theleanstartup.com/principles
6. http://martin.zinkevich.org/rules_of_ml/rules_of_ml.pdf
7. https://papers.nips.cc/paper/5656-hidden-technical-debt-in-machine-learning-systems.pdf
8. Photos from unsplash.com

More Related Content

Viewers also liked

Viewers also liked (9)

Square's Machine Learning Infrastructure and Applications - Rong Yan
Square's Machine Learning Infrastructure and Applications - Rong YanSquare's Machine Learning Infrastructure and Applications - Rong Yan
Square's Machine Learning Infrastructure and Applications - Rong Yan
 
PostgreSQL + Kafka: The Delight of Change Data Capture
PostgreSQL + Kafka: The Delight of Change Data CapturePostgreSQL + Kafka: The Delight of Change Data Capture
PostgreSQL + Kafka: The Delight of Change Data Capture
 
Multi runtime serving pipelines for machine learning
Multi runtime serving pipelines for machine learningMulti runtime serving pipelines for machine learning
Multi runtime serving pipelines for machine learning
 
Production and Beyond: Deploying and Managing Machine Learning Models
Production and Beyond: Deploying and Managing Machine Learning ModelsProduction and Beyond: Deploying and Managing Machine Learning Models
Production and Beyond: Deploying and Managing Machine Learning Models
 
A full Machine learning pipeline in Scikit-learn vs in scala-Spark: pros and ...
A full Machine learning pipeline in Scikit-learn vs in scala-Spark: pros and ...A full Machine learning pipeline in Scikit-learn vs in scala-Spark: pros and ...
A full Machine learning pipeline in Scikit-learn vs in scala-Spark: pros and ...
 
Machine Learning In Production
Machine Learning In ProductionMachine Learning In Production
Machine Learning In Production
 
Machine Learning Pipelines
Machine Learning PipelinesMachine Learning Pipelines
Machine Learning Pipelines
 
Spark and machine learning in microservices architecture
Spark and machine learning in microservices architectureSpark and machine learning in microservices architecture
Spark and machine learning in microservices architecture
 
AI and Machine Learning Demystified by Carol Smith at Midwest UX 2017
AI and Machine Learning Demystified by Carol Smith at Midwest UX 2017AI and Machine Learning Demystified by Carol Smith at Midwest UX 2017
AI and Machine Learning Demystified by Carol Smith at Midwest UX 2017
 

Recently uploaded

Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 
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
Safe Software
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Recently uploaded (20)

Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
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
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
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
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
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
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
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
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
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
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 

WJAX Munich 2017 - Agile Machine Learning: from Theory to Production