SlideShare a Scribd company logo
1 of 27
Download to read offline
@MichaelFrasco
Deploying Machine Learning in
R with Amazon SageMaker
Where I work
● Founded in 2015
● A two-sided marketplace
for shippers and carriers
● Shippers
○ Companies that need
to move freight across
the country
● Carriers
○ Truck drivers that can
move the freight
Machine Learning is Critical to Our Success
Machine Learning is Critical to Our Success
Machine Learning Landscape
Data Scientists
Own the machine
learning algorithms
Machine Learning Landscape
Data Scientists
Own the machine
learning algorithms
Model
Training
Environment
Machine Learning Landscape
Software Engineers
Own the uptime of our
business systems
Machine Learning Landscape
Software Engineers
Own the uptime of our
business systems
Convoy
Production
Environment
Machine Learning Landscape
Software Engineers
Own the uptime of our
business systems
Convoy
Production
Environment
Data Scientists
Own the machine
learning algorithms
Model
Training
Environment
Training-Serving Skew
Training-serving skew is a difference
between a model’s behavior during
training and during serving.
Examples of training-serving skew
● Distance to the nearest metro
● Different definitions of the
standard deviation
○ MLE vs unbiased
Why does training-serving skew happen
● Iterating quickly and
constantly
● Communication issues
between data scientist and
software engineer
● Different programming
languages
How do we prevent training-serving skew
Upload trained
model
Model Training
Environment
Model Serving
Environment
Upload trained
model and
code
Model Training
Environment
Model Serving
Environment
Respond with result
Request prediction
Convoy
Production
Environment
● REST APIs
○ Established technology
for software engineers
● plumber
○ Widely used R
package
○ Transforms your
functions into an API
Communication Between Languages
plumber requires a one line change
Tells the internet
how to find this function
But it is actually much more complicated
● Security!
● Reliability!
● Monitoring!
● Scaling!
● Unknowns!
Should we build it ourselves?
Should we buy it from someone else?
Decided to buy from AWS SageMaker
Upload to
Upload to
Upload to
Upload to
We have seen terrific benefits
● Increased ownership
○ Less reliance on
software engineers
We have seen terrific benefits
● Increased ownership
○ Less reliance on
software engineers
● Faster iterations between
model improvements
We have seen terrific benefits
● Increased ownership
○ Less reliance on
software engineers
● Faster iterations between
model improvements
● Reliable and trustworthy

More Related Content

What's hot

What's hot (19)

Nader Abdelbari - CV
Nader Abdelbari - CVNader Abdelbari - CV
Nader Abdelbari - CV
 
CV Jeroen S.A. Koopmans Logistics/Operations/SC Management
CV Jeroen S.A. Koopmans  Logistics/Operations/SC ManagementCV Jeroen S.A. Koopmans  Logistics/Operations/SC Management
CV Jeroen S.A. Koopmans Logistics/Operations/SC Management
 
Hussain Ahmed CV - Installation Er
Hussain Ahmed CV - Installation ErHussain Ahmed CV - Installation Er
Hussain Ahmed CV - Installation Er
 
Sayed Mohamed Abozaid
Sayed Mohamed AbozaidSayed Mohamed Abozaid
Sayed Mohamed Abozaid
 
Mahmoud saied cv
Mahmoud saied cvMahmoud saied cv
Mahmoud saied cv
 
Elmansy.CV.Updated
Elmansy.CV.UpdatedElmansy.CV.Updated
Elmansy.CV.Updated
 
MIS Executive & Data Analyst
MIS Executive & Data AnalystMIS Executive & Data Analyst
MIS Executive & Data Analyst
 
mohamed hanfy2016-1
mohamed hanfy2016-1mohamed hanfy2016-1
mohamed hanfy2016-1
 
cv
cvcv
cv
 
Eslam-Moawed
Eslam-MoawedEslam-Moawed
Eslam-Moawed
 
Faez's Mini CV
Faez's Mini CVFaez's Mini CV
Faez's Mini CV
 
Forwarding letter
Forwarding letterForwarding letter
Forwarding letter
 
alam jan new cv
alam jan new cvalam jan new cv
alam jan new cv
 
Resume
ResumeResume
Resume
 
Mark George Fikry CV.
Mark George Fikry CV.Mark George Fikry CV.
Mark George Fikry CV.
 
mohammed elsayed Cv
mohammed elsayed Cvmohammed elsayed Cv
mohammed elsayed Cv
 
Cover letter
Cover letterCover letter
Cover letter
 
Berksu İÇLİ-CV_[ENG]
Berksu İÇLİ-CV_[ENG]Berksu İÇLİ-CV_[ENG]
Berksu İÇLİ-CV_[ENG]
 
Rehab_Ramdan - HVAC
Rehab_Ramdan - HVACRehab_Ramdan - HVAC
Rehab_Ramdan - HVAC
 

Similar to Deploying machine learning in r with amazon sagemaker

GDG Cloud Southlake #3 Charles Adetiloye: Enterprise MLOps in Practice
GDG Cloud Southlake #3 Charles Adetiloye: Enterprise MLOps in PracticeGDG Cloud Southlake #3 Charles Adetiloye: Enterprise MLOps in Practice
GDG Cloud Southlake #3 Charles Adetiloye: Enterprise MLOps in PracticeJames Anderson
 
Michelangelo - Machine Learning Platform - 2018
Michelangelo - Machine Learning Platform - 2018Michelangelo - Machine Learning Platform - 2018
Michelangelo - Machine Learning Platform - 2018Karthik Murugesan
 
Using Machine Learning & Artificial Intelligence to Create Impactful Customer...
Using Machine Learning & Artificial Intelligence to Create Impactful Customer...Using Machine Learning & Artificial Intelligence to Create Impactful Customer...
Using Machine Learning & Artificial Intelligence to Create Impactful Customer...Costanoa Ventures
 
Scaling ml @ careem (oreilly ai conf)
Scaling ml @ careem (oreilly ai conf)Scaling ml @ careem (oreilly ai conf)
Scaling ml @ careem (oreilly ai conf)Ahmed Kamal
 
Glocal view corporate profile
Glocal view corporate profileGlocal view corporate profile
Glocal view corporate profileAditi Vats
 
Making machine learning model deployment boring - Big Data Expo 2019
Making machine learning model deployment boring - Big Data Expo 2019Making machine learning model deployment boring - Big Data Expo 2019
Making machine learning model deployment boring - Big Data Expo 2019webwinkelvakdag
 
Introduction to Machine Learning - WeCloudData
Introduction to Machine Learning - WeCloudDataIntroduction to Machine Learning - WeCloudData
Introduction to Machine Learning - WeCloudDataWeCloudData
 
Introduction to Machine Learning - WeCloudData
Introduction to Machine Learning - WeCloudDataIntroduction to Machine Learning - WeCloudData
Introduction to Machine Learning - WeCloudDataWeCloudData
 
Scaling Ride-Hailing with Machine Learning on MLflow
Scaling Ride-Hailing with Machine Learning on MLflowScaling Ride-Hailing with Machine Learning on MLflow
Scaling Ride-Hailing with Machine Learning on MLflowDatabricks
 
Driver simulator training
Driver simulator trainingDriver simulator training
Driver simulator trainingGordon Flannery
 
Sampath_Test_Engineer_with_7 Years of Exp
Sampath_Test_Engineer_with_7 Years of ExpSampath_Test_Engineer_with_7 Years of Exp
Sampath_Test_Engineer_with_7 Years of ExpSampath Kumar
 
Iqra Technology Free Training.pptx
Iqra Technology Free Training.pptxIqra Technology Free Training.pptx
Iqra Technology Free Training.pptxIqra Technology
 
How To Become A Machine Learning Engineer? | Machine Learning Engineer Salary...
How To Become A Machine Learning Engineer? | Machine Learning Engineer Salary...How To Become A Machine Learning Engineer? | Machine Learning Engineer Salary...
How To Become A Machine Learning Engineer? | Machine Learning Engineer Salary...Edureka!
 
cloud-computing-brochure
cloud-computing-brochurecloud-computing-brochure
cloud-computing-brochureNick Serafimov
 
RajivRanjan_Resume
RajivRanjan_ResumeRajivRanjan_Resume
RajivRanjan_ResumeRajiv Ranjan
 

Similar to Deploying machine learning in r with amazon sagemaker (20)

GDG Cloud Southlake #3 Charles Adetiloye: Enterprise MLOps in Practice
GDG Cloud Southlake #3 Charles Adetiloye: Enterprise MLOps in PracticeGDG Cloud Southlake #3 Charles Adetiloye: Enterprise MLOps in Practice
GDG Cloud Southlake #3 Charles Adetiloye: Enterprise MLOps in Practice
 
Michelangelo - Machine Learning Platform - 2018
Michelangelo - Machine Learning Platform - 2018Michelangelo - Machine Learning Platform - 2018
Michelangelo - Machine Learning Platform - 2018
 
Using Machine Learning & Artificial Intelligence to Create Impactful Customer...
Using Machine Learning & Artificial Intelligence to Create Impactful Customer...Using Machine Learning & Artificial Intelligence to Create Impactful Customer...
Using Machine Learning & Artificial Intelligence to Create Impactful Customer...
 
Scaling ml @ careem (oreilly ai conf)
Scaling ml @ careem (oreilly ai conf)Scaling ml @ careem (oreilly ai conf)
Scaling ml @ careem (oreilly ai conf)
 
Francis semilla docs
Francis semilla docsFrancis semilla docs
Francis semilla docs
 
Glocal view corporate profile
Glocal view corporate profileGlocal view corporate profile
Glocal view corporate profile
 
Making machine learning model deployment boring - Big Data Expo 2019
Making machine learning model deployment boring - Big Data Expo 2019Making machine learning model deployment boring - Big Data Expo 2019
Making machine learning model deployment boring - Big Data Expo 2019
 
Profile_Dhananjay_Bhave
Profile_Dhananjay_BhaveProfile_Dhananjay_Bhave
Profile_Dhananjay_Bhave
 
Introduction to Machine Learning - WeCloudData
Introduction to Machine Learning - WeCloudDataIntroduction to Machine Learning - WeCloudData
Introduction to Machine Learning - WeCloudData
 
Introduction to Machine Learning - WeCloudData
Introduction to Machine Learning - WeCloudDataIntroduction to Machine Learning - WeCloudData
Introduction to Machine Learning - WeCloudData
 
Ejyle company profile
Ejyle   company profileEjyle   company profile
Ejyle company profile
 
Ejyle company profile
Ejyle company profileEjyle company profile
Ejyle company profile
 
Scaling Ride-Hailing with Machine Learning on MLflow
Scaling Ride-Hailing with Machine Learning on MLflowScaling Ride-Hailing with Machine Learning on MLflow
Scaling Ride-Hailing with Machine Learning on MLflow
 
Driver simulator training
Driver simulator trainingDriver simulator training
Driver simulator training
 
Senthilvasan CV Ver 3.1 1509 Auto
Senthilvasan CV Ver 3.1 1509 AutoSenthilvasan CV Ver 3.1 1509 Auto
Senthilvasan CV Ver 3.1 1509 Auto
 
Sampath_Test_Engineer_with_7 Years of Exp
Sampath_Test_Engineer_with_7 Years of ExpSampath_Test_Engineer_with_7 Years of Exp
Sampath_Test_Engineer_with_7 Years of Exp
 
Iqra Technology Free Training.pptx
Iqra Technology Free Training.pptxIqra Technology Free Training.pptx
Iqra Technology Free Training.pptx
 
How To Become A Machine Learning Engineer? | Machine Learning Engineer Salary...
How To Become A Machine Learning Engineer? | Machine Learning Engineer Salary...How To Become A Machine Learning Engineer? | Machine Learning Engineer Salary...
How To Become A Machine Learning Engineer? | Machine Learning Engineer Salary...
 
cloud-computing-brochure
cloud-computing-brochurecloud-computing-brochure
cloud-computing-brochure
 
RajivRanjan_Resume
RajivRanjan_ResumeRajivRanjan_Resume
RajivRanjan_Resume
 

Recently uploaded

Atlantic Grupa Case Study (Mintec Data AI)
Atlantic Grupa Case Study (Mintec Data AI)Atlantic Grupa Case Study (Mintec Data AI)
Atlantic Grupa Case Study (Mintec Data AI)Jon Hansen
 
一比一原版阿德莱德大学毕业证成绩单如何办理
一比一原版阿德莱德大学毕业证成绩单如何办理一比一原版阿德莱德大学毕业证成绩单如何办理
一比一原版阿德莱德大学毕业证成绩单如何办理pyhepag
 
Audience Researchndfhcvnfgvgbhujhgfv.pptx
Audience Researchndfhcvnfgvgbhujhgfv.pptxAudience Researchndfhcvnfgvgbhujhgfv.pptx
Audience Researchndfhcvnfgvgbhujhgfv.pptxStephen266013
 
Identify Rules that Predict Patient’s Heart Disease - An Application of Decis...
Identify Rules that Predict Patient’s Heart Disease - An Application of Decis...Identify Rules that Predict Patient’s Heart Disease - An Application of Decis...
Identify Rules that Predict Patient’s Heart Disease - An Application of Decis...ThinkInnovation
 
Formulas dax para power bI de microsoft.pdf
Formulas dax para power bI de microsoft.pdfFormulas dax para power bI de microsoft.pdf
Formulas dax para power bI de microsoft.pdfRobertoOcampo24
 
如何办理英国卡迪夫大学毕业证(Cardiff毕业证书)成绩单留信学历认证
如何办理英国卡迪夫大学毕业证(Cardiff毕业证书)成绩单留信学历认证如何办理英国卡迪夫大学毕业证(Cardiff毕业证书)成绩单留信学历认证
如何办理英国卡迪夫大学毕业证(Cardiff毕业证书)成绩单留信学历认证ju0dztxtn
 
What is Insertion Sort. Its basic information
What is Insertion Sort. Its basic informationWhat is Insertion Sort. Its basic information
What is Insertion Sort. Its basic informationmuqadasqasim10
 
Data Visualization Exploring and Explaining with Data 1st Edition by Camm sol...
Data Visualization Exploring and Explaining with Data 1st Edition by Camm sol...Data Visualization Exploring and Explaining with Data 1st Edition by Camm sol...
Data Visualization Exploring and Explaining with Data 1st Edition by Camm sol...ssuserf63bd7
 
Bios of leading Astrologers & Researchers
Bios of leading Astrologers & ResearchersBios of leading Astrologers & Researchers
Bios of leading Astrologers & Researchersdarmandersingh4580
 
Data Analytics for Digital Marketing Lecture for Advanced Digital & Social Me...
Data Analytics for Digital Marketing Lecture for Advanced Digital & Social Me...Data Analytics for Digital Marketing Lecture for Advanced Digital & Social Me...
Data Analytics for Digital Marketing Lecture for Advanced Digital & Social Me...Valters Lauzums
 
1:1原版定制利物浦大学毕业证(Liverpool毕业证)成绩单学位证书留信学历认证
1:1原版定制利物浦大学毕业证(Liverpool毕业证)成绩单学位证书留信学历认证1:1原版定制利物浦大学毕业证(Liverpool毕业证)成绩单学位证书留信学历认证
1:1原版定制利物浦大学毕业证(Liverpool毕业证)成绩单学位证书留信学历认证ppy8zfkfm
 
MATERI MANAJEMEN OF PENYAKIT TETANUS.ppt
MATERI  MANAJEMEN OF PENYAKIT TETANUS.pptMATERI  MANAJEMEN OF PENYAKIT TETANUS.ppt
MATERI MANAJEMEN OF PENYAKIT TETANUS.pptRachmaGhifari
 
Predictive Precipitation: Advanced Rain Forecasting Techniques
Predictive Precipitation: Advanced Rain Forecasting TechniquesPredictive Precipitation: Advanced Rain Forecasting Techniques
Predictive Precipitation: Advanced Rain Forecasting TechniquesBoston Institute of Analytics
 
NO1 Best Kala Jadu Expert Specialist In Germany Kala Jadu Expert Specialist I...
NO1 Best Kala Jadu Expert Specialist In Germany Kala Jadu Expert Specialist I...NO1 Best Kala Jadu Expert Specialist In Germany Kala Jadu Expert Specialist I...
NO1 Best Kala Jadu Expert Specialist In Germany Kala Jadu Expert Specialist I...Amil baba
 
Seven tools of quality control.slideshare
Seven tools of quality control.slideshareSeven tools of quality control.slideshare
Seven tools of quality control.slideshareraiaryan448
 
Sensing the Future: Anomaly Detection and Event Prediction in Sensor Networks
Sensing the Future: Anomaly Detection and Event Prediction in Sensor NetworksSensing the Future: Anomaly Detection and Event Prediction in Sensor Networks
Sensing the Future: Anomaly Detection and Event Prediction in Sensor NetworksBoston Institute of Analytics
 
edited gordis ebook sixth edition david d.pdf
edited gordis ebook sixth edition david d.pdfedited gordis ebook sixth edition david d.pdf
edited gordis ebook sixth edition david d.pdfgreat91
 
一比一原版加利福尼亚大学尔湾分校毕业证成绩单如何办理
一比一原版加利福尼亚大学尔湾分校毕业证成绩单如何办理一比一原版加利福尼亚大学尔湾分校毕业证成绩单如何办理
一比一原版加利福尼亚大学尔湾分校毕业证成绩单如何办理pyhepag
 
如何办理(Dalhousie毕业证书)达尔豪斯大学毕业证成绩单留信学历认证
如何办理(Dalhousie毕业证书)达尔豪斯大学毕业证成绩单留信学历认证如何办理(Dalhousie毕业证书)达尔豪斯大学毕业证成绩单留信学历认证
如何办理(Dalhousie毕业证书)达尔豪斯大学毕业证成绩单留信学历认证zifhagzkk
 

Recently uploaded (20)

Atlantic Grupa Case Study (Mintec Data AI)
Atlantic Grupa Case Study (Mintec Data AI)Atlantic Grupa Case Study (Mintec Data AI)
Atlantic Grupa Case Study (Mintec Data AI)
 
Abortion pills in Riyadh Saudi Arabia (+966572737505 buy cytotec
Abortion pills in Riyadh Saudi Arabia (+966572737505 buy cytotecAbortion pills in Riyadh Saudi Arabia (+966572737505 buy cytotec
Abortion pills in Riyadh Saudi Arabia (+966572737505 buy cytotec
 
一比一原版阿德莱德大学毕业证成绩单如何办理
一比一原版阿德莱德大学毕业证成绩单如何办理一比一原版阿德莱德大学毕业证成绩单如何办理
一比一原版阿德莱德大学毕业证成绩单如何办理
 
Audience Researchndfhcvnfgvgbhujhgfv.pptx
Audience Researchndfhcvnfgvgbhujhgfv.pptxAudience Researchndfhcvnfgvgbhujhgfv.pptx
Audience Researchndfhcvnfgvgbhujhgfv.pptx
 
Identify Rules that Predict Patient’s Heart Disease - An Application of Decis...
Identify Rules that Predict Patient’s Heart Disease - An Application of Decis...Identify Rules that Predict Patient’s Heart Disease - An Application of Decis...
Identify Rules that Predict Patient’s Heart Disease - An Application of Decis...
 
Formulas dax para power bI de microsoft.pdf
Formulas dax para power bI de microsoft.pdfFormulas dax para power bI de microsoft.pdf
Formulas dax para power bI de microsoft.pdf
 
如何办理英国卡迪夫大学毕业证(Cardiff毕业证书)成绩单留信学历认证
如何办理英国卡迪夫大学毕业证(Cardiff毕业证书)成绩单留信学历认证如何办理英国卡迪夫大学毕业证(Cardiff毕业证书)成绩单留信学历认证
如何办理英国卡迪夫大学毕业证(Cardiff毕业证书)成绩单留信学历认证
 
What is Insertion Sort. Its basic information
What is Insertion Sort. Its basic informationWhat is Insertion Sort. Its basic information
What is Insertion Sort. Its basic information
 
Data Visualization Exploring and Explaining with Data 1st Edition by Camm sol...
Data Visualization Exploring and Explaining with Data 1st Edition by Camm sol...Data Visualization Exploring and Explaining with Data 1st Edition by Camm sol...
Data Visualization Exploring and Explaining with Data 1st Edition by Camm sol...
 
Bios of leading Astrologers & Researchers
Bios of leading Astrologers & ResearchersBios of leading Astrologers & Researchers
Bios of leading Astrologers & Researchers
 
Data Analytics for Digital Marketing Lecture for Advanced Digital & Social Me...
Data Analytics for Digital Marketing Lecture for Advanced Digital & Social Me...Data Analytics for Digital Marketing Lecture for Advanced Digital & Social Me...
Data Analytics for Digital Marketing Lecture for Advanced Digital & Social Me...
 
1:1原版定制利物浦大学毕业证(Liverpool毕业证)成绩单学位证书留信学历认证
1:1原版定制利物浦大学毕业证(Liverpool毕业证)成绩单学位证书留信学历认证1:1原版定制利物浦大学毕业证(Liverpool毕业证)成绩单学位证书留信学历认证
1:1原版定制利物浦大学毕业证(Liverpool毕业证)成绩单学位证书留信学历认证
 
MATERI MANAJEMEN OF PENYAKIT TETANUS.ppt
MATERI  MANAJEMEN OF PENYAKIT TETANUS.pptMATERI  MANAJEMEN OF PENYAKIT TETANUS.ppt
MATERI MANAJEMEN OF PENYAKIT TETANUS.ppt
 
Predictive Precipitation: Advanced Rain Forecasting Techniques
Predictive Precipitation: Advanced Rain Forecasting TechniquesPredictive Precipitation: Advanced Rain Forecasting Techniques
Predictive Precipitation: Advanced Rain Forecasting Techniques
 
NO1 Best Kala Jadu Expert Specialist In Germany Kala Jadu Expert Specialist I...
NO1 Best Kala Jadu Expert Specialist In Germany Kala Jadu Expert Specialist I...NO1 Best Kala Jadu Expert Specialist In Germany Kala Jadu Expert Specialist I...
NO1 Best Kala Jadu Expert Specialist In Germany Kala Jadu Expert Specialist I...
 
Seven tools of quality control.slideshare
Seven tools of quality control.slideshareSeven tools of quality control.slideshare
Seven tools of quality control.slideshare
 
Sensing the Future: Anomaly Detection and Event Prediction in Sensor Networks
Sensing the Future: Anomaly Detection and Event Prediction in Sensor NetworksSensing the Future: Anomaly Detection and Event Prediction in Sensor Networks
Sensing the Future: Anomaly Detection and Event Prediction in Sensor Networks
 
edited gordis ebook sixth edition david d.pdf
edited gordis ebook sixth edition david d.pdfedited gordis ebook sixth edition david d.pdf
edited gordis ebook sixth edition david d.pdf
 
一比一原版加利福尼亚大学尔湾分校毕业证成绩单如何办理
一比一原版加利福尼亚大学尔湾分校毕业证成绩单如何办理一比一原版加利福尼亚大学尔湾分校毕业证成绩单如何办理
一比一原版加利福尼亚大学尔湾分校毕业证成绩单如何办理
 
如何办理(Dalhousie毕业证书)达尔豪斯大学毕业证成绩单留信学历认证
如何办理(Dalhousie毕业证书)达尔豪斯大学毕业证成绩单留信学历认证如何办理(Dalhousie毕业证书)达尔豪斯大学毕业证成绩单留信学历认证
如何办理(Dalhousie毕业证书)达尔豪斯大学毕业证成绩单留信学历认证
 

Deploying machine learning in r with amazon sagemaker