SlideShare a Scribd company logo
1 of 25
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
End to End - Model Development to Deployment using SageMaker
Chaitanya Hazarey
Solutions Architect, AWS
chazarey@amazon.com
Original Author: Matthew McClean
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Collect and prepare
training data
Choose and optimize
your ML algorithm
Set up and manage
environments for
training
Train and tune model
(trial and error)
Deploy model
in production
Scale and manage the
production environment
Easily build, train, and deploy machine learning models
Amazon SageMaker
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon SageMaker
Pre-built
notebooks for
common problems
K-Means Clustering
Principal Component Analysis
Neural Topic Modeling
Factorization Machines
Linear Learner - Regression
XGBoost
Latent Dirichlet Allocation
Image Classification
Seq2Seq
Linear Learner - Classification
ALGORITHMS
Apache MXNet
TensorFlow
Caffe2, CNTK,
PyTorch, Torch
FRAMEWORKS Set up and manage
environments for training
Train and tune model
(trial and error)
Deploy model
in production
Scale and manage the
production environment
Built-in, high-
performance
algorithms
Build
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Pre-built
notebooks for
common problems
Built-in, high-
performance
algorithms
One-click
training
Hyperparameter
optimization
Build Train
Deploy model
in production
Scale and manage
the production
environment
Amazon SageMaker
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Fully managed hosting
with auto-scaling
One-click
deployment
Pre-built
notebooks for
common problems
Built-in, high-
performance
algorithms
One-click
training
Hyperparameter
optimization
Build Train Deploy
Amazon SageMaker
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon SageMaker
1
I
Notebook Instances
2
I
Algorithms
3
I
ML Training Service
4
I
ML Hosting Service
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
① SageMaker Notebook Instances
Zero Setup For Exploratory Data Analysis
Just add data!
• Recommendations/Personalization
• Fraud Detection
• Forecasting
• Image Classification
• Churn Prediction
• Marketing Email/Campaign Targeting
• Log processing and anomaly detection
• Speech to Text
• More…
Authoring &
Notebooks
ETL Access to AWS
Database services
Access to S3
Data Lake
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
② SageMaker Built-In Algorithms
10x better
Training code
• Matrix Factorization
• Regression
• Principal Component Analysis
• K-Means Clustering
• Gradient Boosted Trees
• And More!
Amazon-Provided Algorithms
Bring Your Own Script
(SageMaker builds the Container)
SageMaker Estimators
in Apache Spark
Bring Your Own Algorithm
(You build the Container)
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Training AlgorithmTraining Data
③ SageMaker ML Training Service
Amazon S3 Amazon ECR
Amazon SageMaker
Training Algorithm Inference AlgorithmTraining Data
Model Artifacts
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
⓸ SageMaker Hosting Service
Amazon S3
Amazon SageMaker
Training Data Model Artifacts
EndPoint
Model Artifacts Amazon ECRTraining Algorithm Inference AlgorithmInference Algorithm
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
⓸ SageMaker Hosting Service
100
20
Endpoint Configuration
Inference
EndPoint
Model Versions
80
Amazon
ECR
Amazon S3Ground Truth
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Example custom framework with Amazon SageMaker
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon SageMaker
1
I
Notebook Instances
2
I
Algorithms
3
I
ML Training Service
4
I
ML Hosting Service
Build & Test Deploy
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
fast.ai
• Designed to create world-class Deep Learning models
• Based on PyTorch
• Focus on practical application of DL (e.g. structured data)
• Easy to extend and introduce new concepts/ideas
• Used by popular online course for developers
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
fast.ai
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon SageMaker
Step 1: Build and train model on SageMaker notebook
SageMaker
Notebook
Build & Train
Amazon S3
Model Artefacts
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon SageMaker
Step 2: Create SageMaker model
Amazon
ECR
Inference Image
Build & Push
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon SageMaker
Step 3: Create SageMaker endpoint
Amazon
ECR
SageMaker
Hosting
Deploy
Amazon S3
Inference Image
Model Artefacts
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon SageMaker
Example Architecture with custom framework
SageMaker
Notebook
Amazon
ECR
SageMaker
Hosting
Build & Train
Amazon S3
Model Artefacts
Inference Image
Build & Push
Deploy
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Inference Image Run
docker run {image} serve /opt/ml/model
Model Artefacts directorySageMaker run command
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Inference Image Server
post: /invocations
get: /ping
Inference Calls
Endpoint Health
HTTP
Request
NGINX
GUNICORN
FLASK
ML code
Python
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
• Demo
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Resources
• Fast.ai MOOC : http://course.fast.ai/
• Fast.ai library: https://github.com/fastai/fastai
• Demo Source: https://github.com/mattmcclean/sagemaker-lhr-summit-demo
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
aws.amazon.com/activate
Everything and Anything Startups
Need to Get Started on AWS
Thanks!

More Related Content

What's hot

ABD318_Architecting a data lake with Amazon S3, Amazon Kinesis, AWS Glue and ...
ABD318_Architecting a data lake with Amazon S3, Amazon Kinesis, AWS Glue and ...ABD318_Architecting a data lake with Amazon S3, Amazon Kinesis, AWS Glue and ...
ABD318_Architecting a data lake with Amazon S3, Amazon Kinesis, AWS Glue and ...Amazon Web Services
 
Amazon SageMaker 모델 빌딩 파이프라인 소개::이유동, AI/ML 스페셜리스트 솔루션즈 아키텍트, AWS::AWS AIML 스...
Amazon SageMaker 모델 빌딩 파이프라인 소개::이유동, AI/ML 스페셜리스트 솔루션즈 아키텍트, AWS::AWS AIML 스...Amazon SageMaker 모델 빌딩 파이프라인 소개::이유동, AI/ML 스페셜리스트 솔루션즈 아키텍트, AWS::AWS AIML 스...
Amazon SageMaker 모델 빌딩 파이프라인 소개::이유동, AI/ML 스페셜리스트 솔루션즈 아키텍트, AWS::AWS AIML 스...Amazon Web Services Korea
 
Storage with Amazon S3 and Amazon Glacier
Storage with Amazon S3 and Amazon GlacierStorage with Amazon S3 and Amazon Glacier
Storage with Amazon S3 and Amazon GlacierAmazon Web Services
 
Emerging Trends in Hybrid-Cloud & Multi-Cloud Strategies
Emerging Trends in Hybrid-Cloud & Multi-Cloud StrategiesEmerging Trends in Hybrid-Cloud & Multi-Cloud Strategies
Emerging Trends in Hybrid-Cloud & Multi-Cloud StrategiesChaitanya Atreya
 
An Overview of Best Practices for Large Scale Migrations - AWS Transformation...
An Overview of Best Practices for Large Scale Migrations - AWS Transformation...An Overview of Best Practices for Large Scale Migrations - AWS Transformation...
An Overview of Best Practices for Large Scale Migrations - AWS Transformation...Amazon Web Services
 
SalesForce Consulting Service & Customization
SalesForce Consulting Service & CustomizationSalesForce Consulting Service & Customization
SalesForce Consulting Service & Customizationvarianceinfotech
 
Machine Learning with Amazon SageMaker
Machine Learning with Amazon SageMakerMachine Learning with Amazon SageMaker
Machine Learning with Amazon SageMakerVladimir Simek
 
(ENT305) Develop an Enterprise-wide Cloud Adoption Strategy | AWS re:Invent 2014
(ENT305) Develop an Enterprise-wide Cloud Adoption Strategy | AWS re:Invent 2014(ENT305) Develop an Enterprise-wide Cloud Adoption Strategy | AWS re:Invent 2014
(ENT305) Develop an Enterprise-wide Cloud Adoption Strategy | AWS re:Invent 2014Amazon Web Services
 
Building Data Lakes and Analytics on AWS; Patterns and Best Practices - BDA30...
Building Data Lakes and Analytics on AWS; Patterns and Best Practices - BDA30...Building Data Lakes and Analytics on AWS; Patterns and Best Practices - BDA30...
Building Data Lakes and Analytics on AWS; Patterns and Best Practices - BDA30...Amazon Web Services
 
Protecting Your Data With AWS KMS and AWS CloudHSM
Protecting Your Data With AWS KMS and AWS CloudHSM Protecting Your Data With AWS KMS and AWS CloudHSM
Protecting Your Data With AWS KMS and AWS CloudHSM Amazon Web Services
 
Optimizing Costs as You Scale on AWS (ENT302) - AWS re:Invent 2018
Optimizing Costs as You Scale on AWS (ENT302) - AWS re:Invent 2018Optimizing Costs as You Scale on AWS (ENT302) - AWS re:Invent 2018
Optimizing Costs as You Scale on AWS (ENT302) - AWS re:Invent 2018Amazon Web Services
 
Why Domain-Driven Design and Reactive Programming?
Why Domain-Driven Design and Reactive Programming?Why Domain-Driven Design and Reactive Programming?
Why Domain-Driven Design and Reactive Programming?VMware Tanzu
 

What's hot (20)

ABD318_Architecting a data lake with Amazon S3, Amazon Kinesis, AWS Glue and ...
ABD318_Architecting a data lake with Amazon S3, Amazon Kinesis, AWS Glue and ...ABD318_Architecting a data lake with Amazon S3, Amazon Kinesis, AWS Glue and ...
ABD318_Architecting a data lake with Amazon S3, Amazon Kinesis, AWS Glue and ...
 
Introducing Amazon SageMaker
Introducing Amazon SageMakerIntroducing Amazon SageMaker
Introducing Amazon SageMaker
 
Introduction to Sagemaker
Introduction to SagemakerIntroduction to Sagemaker
Introduction to Sagemaker
 
Amazon SageMaker 모델 빌딩 파이프라인 소개::이유동, AI/ML 스페셜리스트 솔루션즈 아키텍트, AWS::AWS AIML 스...
Amazon SageMaker 모델 빌딩 파이프라인 소개::이유동, AI/ML 스페셜리스트 솔루션즈 아키텍트, AWS::AWS AIML 스...Amazon SageMaker 모델 빌딩 파이프라인 소개::이유동, AI/ML 스페셜리스트 솔루션즈 아키텍트, AWS::AWS AIML 스...
Amazon SageMaker 모델 빌딩 파이프라인 소개::이유동, AI/ML 스페셜리스트 솔루션즈 아키텍트, AWS::AWS AIML 스...
 
Storage with Amazon S3 and Amazon Glacier
Storage with Amazon S3 and Amazon GlacierStorage with Amazon S3 and Amazon Glacier
Storage with Amazon S3 and Amazon Glacier
 
Emerging Trends in Hybrid-Cloud & Multi-Cloud Strategies
Emerging Trends in Hybrid-Cloud & Multi-Cloud StrategiesEmerging Trends in Hybrid-Cloud & Multi-Cloud Strategies
Emerging Trends in Hybrid-Cloud & Multi-Cloud Strategies
 
AWS 101
AWS 101AWS 101
AWS 101
 
An Overview of Best Practices for Large Scale Migrations - AWS Transformation...
An Overview of Best Practices for Large Scale Migrations - AWS Transformation...An Overview of Best Practices for Large Scale Migrations - AWS Transformation...
An Overview of Best Practices for Large Scale Migrations - AWS Transformation...
 
SalesForce Consulting Service & Customization
SalesForce Consulting Service & CustomizationSalesForce Consulting Service & Customization
SalesForce Consulting Service & Customization
 
Machine Learning with Amazon SageMaker
Machine Learning with Amazon SageMakerMachine Learning with Amazon SageMaker
Machine Learning with Amazon SageMaker
 
BDA311 Introduction to AWS Glue
BDA311 Introduction to AWS GlueBDA311 Introduction to AWS Glue
BDA311 Introduction to AWS Glue
 
Security Architectures on AWS
Security Architectures on AWSSecurity Architectures on AWS
Security Architectures on AWS
 
(ENT305) Develop an Enterprise-wide Cloud Adoption Strategy | AWS re:Invent 2014
(ENT305) Develop an Enterprise-wide Cloud Adoption Strategy | AWS re:Invent 2014(ENT305) Develop an Enterprise-wide Cloud Adoption Strategy | AWS re:Invent 2014
(ENT305) Develop an Enterprise-wide Cloud Adoption Strategy | AWS re:Invent 2014
 
Building Data Lakes and Analytics on AWS; Patterns and Best Practices - BDA30...
Building Data Lakes and Analytics on AWS; Patterns and Best Practices - BDA30...Building Data Lakes and Analytics on AWS; Patterns and Best Practices - BDA30...
Building Data Lakes and Analytics on AWS; Patterns and Best Practices - BDA30...
 
Amazon Lightsail
Amazon LightsailAmazon Lightsail
Amazon Lightsail
 
Cost Optimisation on AWS
Cost Optimisation on AWSCost Optimisation on AWS
Cost Optimisation on AWS
 
App Modernization
App ModernizationApp Modernization
App Modernization
 
Protecting Your Data With AWS KMS and AWS CloudHSM
Protecting Your Data With AWS KMS and AWS CloudHSM Protecting Your Data With AWS KMS and AWS CloudHSM
Protecting Your Data With AWS KMS and AWS CloudHSM
 
Optimizing Costs as You Scale on AWS (ENT302) - AWS re:Invent 2018
Optimizing Costs as You Scale on AWS (ENT302) - AWS re:Invent 2018Optimizing Costs as You Scale on AWS (ENT302) - AWS re:Invent 2018
Optimizing Costs as You Scale on AWS (ENT302) - AWS re:Invent 2018
 
Why Domain-Driven Design and Reactive Programming?
Why Domain-Driven Design and Reactive Programming?Why Domain-Driven Design and Reactive Programming?
Why Domain-Driven Design and Reactive Programming?
 

Similar to AWS Machine Learning Week SF: End to End Model Development Using SageMaker

End to End Model Development to Deployment using SageMaker
End to End Model Development to Deployment using SageMakerEnd to End Model Development to Deployment using SageMaker
End to End Model Development to Deployment using SageMakerAmazon Web Services
 
Supercharge Your Machine Learning Model with Amazon SageMaker
Supercharge Your Machine Learning Model with Amazon SageMakerSupercharge Your Machine Learning Model with Amazon SageMaker
Supercharge Your Machine Learning Model with Amazon SageMakerAmazon Web Services
 
Building, Training and Deploying Custom Algorithms with Amazon SageMaker
Building, Training and Deploying Custom Algorithms with Amazon SageMakerBuilding, Training and Deploying Custom Algorithms with Amazon SageMaker
Building, Training and Deploying Custom Algorithms with Amazon SageMakerAmazon Web Services
 
WhereML a Serverless ML Powered Location Guessing Twitter Bot
WhereML a Serverless ML Powered Location Guessing Twitter BotWhereML a Serverless ML Powered Location Guessing Twitter Bot
WhereML a Serverless ML Powered Location Guessing Twitter BotRandall Hunt
 
Building WhereML, an AI Powered Twitter Bot for Guessing Locations of Picture...
Building WhereML, an AI Powered Twitter Bot for Guessing Locations of Picture...Building WhereML, an AI Powered Twitter Bot for Guessing Locations of Picture...
Building WhereML, an AI Powered Twitter Bot for Guessing Locations of Picture...Amazon Web Services
 
Building a Serverless AI Powered Twitter Bot: Collision 2018
Building a Serverless AI Powered Twitter Bot: Collision 2018Building a Serverless AI Powered Twitter Bot: Collision 2018
Building a Serverless AI Powered Twitter Bot: Collision 2018Amazon Web Services
 
Serverless AI with Scikit-Learn (GPSWS405) - AWS re:Invent 2018
Serverless AI with Scikit-Learn (GPSWS405) - AWS re:Invent 2018Serverless AI with Scikit-Learn (GPSWS405) - AWS re:Invent 2018
Serverless AI with Scikit-Learn (GPSWS405) - AWS re:Invent 2018Amazon Web Services
 
Building Deep Learning Applications with TensorFlow and SageMaker on AWS - Te...
Building Deep Learning Applications with TensorFlow and SageMaker on AWS - Te...Building Deep Learning Applications with TensorFlow and SageMaker on AWS - Te...
Building Deep Learning Applications with TensorFlow and SageMaker on AWS - Te...Amazon Web Services
 
Predicting the Future with Amazon SageMaker - AWS Summit Sydney 2018
Predicting the Future with Amazon SageMaker - AWS Summit Sydney 2018Predicting the Future with Amazon SageMaker - AWS Summit Sydney 2018
Predicting the Future with Amazon SageMaker - AWS Summit Sydney 2018Amazon Web Services
 
Perform Machine Learning at the IoT Edge using AWS Greengrass and Amazon Sage...
Perform Machine Learning at the IoT Edge using AWS Greengrass and Amazon Sage...Perform Machine Learning at the IoT Edge using AWS Greengrass and Amazon Sage...
Perform Machine Learning at the IoT Edge using AWS Greengrass and Amazon Sage...Amazon Web Services
 
AWS의 새로운 언어, 음성, 텍스트 처리 인공 지능 서비스, Amazon SageMaker::Sunil Mallya::AWS Summit...
AWS의 새로운 언어, 음성, 텍스트 처리 인공 지능 서비스, Amazon SageMaker::Sunil Mallya::AWS Summit...AWS의 새로운 언어, 음성, 텍스트 처리 인공 지능 서비스, Amazon SageMaker::Sunil Mallya::AWS Summit...
AWS의 새로운 언어, 음성, 텍스트 처리 인공 지능 서비스, Amazon SageMaker::Sunil Mallya::AWS Summit...Amazon Web Services Korea
 
Supercharge Your ML Model with SageMaker - AWS Summit Sydney 2018
Supercharge Your ML Model with SageMaker - AWS Summit Sydney 2018Supercharge Your ML Model with SageMaker - AWS Summit Sydney 2018
Supercharge Your ML Model with SageMaker - AWS Summit Sydney 2018Amazon Web Services
 
Quickly and easily build, train, and deploy machine learning models at any scale
Quickly and easily build, train, and deploy machine learning models at any scaleQuickly and easily build, train, and deploy machine learning models at any scale
Quickly and easily build, train, and deploy machine learning models at any scaleAWS Germany
 
Build, Train, and Deploy ML Models Quickly and Easily with Amazon SageMaker, ...
Build, Train, and Deploy ML Models Quickly and Easily with Amazon SageMaker, ...Build, Train, and Deploy ML Models Quickly and Easily with Amazon SageMaker, ...
Build, Train, and Deploy ML Models Quickly and Easily with Amazon SageMaker, ...Amazon Web Services
 
Work with Machine Learning in Amazon SageMaker - BDA203 - Toronto AWS Summit
Work with Machine Learning in Amazon SageMaker - BDA203 - Toronto AWS SummitWork with Machine Learning in Amazon SageMaker - BDA203 - Toronto AWS Summit
Work with Machine Learning in Amazon SageMaker - BDA203 - Toronto AWS SummitAmazon Web Services
 
Intelligence of Things: IoT, AWS DeepLens and Amazon SageMaker - AWS Summit S...
Intelligence of Things: IoT, AWS DeepLens and Amazon SageMaker - AWS Summit S...Intelligence of Things: IoT, AWS DeepLens and Amazon SageMaker - AWS Summit S...
Intelligence of Things: IoT, AWS DeepLens and Amazon SageMaker - AWS Summit S...Amazon Web Services
 
Introducing Amazon SageMaker - AWS Online Tech Talks
Introducing Amazon SageMaker - AWS Online Tech TalksIntroducing Amazon SageMaker - AWS Online Tech Talks
Introducing Amazon SageMaker - AWS Online Tech TalksAmazon Web Services
 
Build, Train, and Deploy ML Models Quickly and Easily with Amazon SageMaker, ...
Build, Train, and Deploy ML Models Quickly and Easily with Amazon SageMaker, ...Build, Train, and Deploy ML Models Quickly and Easily with Amazon SageMaker, ...
Build, Train, and Deploy ML Models Quickly and Easily with Amazon SageMaker, ...Amazon Web Services
 
Build, Train, and Deploy ML Models Quickly and Easily with Amazon SageMaker, ...
Build, Train, and Deploy ML Models Quickly and Easily with Amazon SageMaker, ...Build, Train, and Deploy ML Models Quickly and Easily with Amazon SageMaker, ...
Build, Train, and Deploy ML Models Quickly and Easily with Amazon SageMaker, ...Amazon Web Services
 

Similar to AWS Machine Learning Week SF: End to End Model Development Using SageMaker (20)

End to End Model Development to Deployment using SageMaker
End to End Model Development to Deployment using SageMakerEnd to End Model Development to Deployment using SageMaker
End to End Model Development to Deployment using SageMaker
 
Supercharge Your Machine Learning Model with Amazon SageMaker
Supercharge Your Machine Learning Model with Amazon SageMakerSupercharge Your Machine Learning Model with Amazon SageMaker
Supercharge Your Machine Learning Model with Amazon SageMaker
 
Building, Training and Deploying Custom Algorithms with Amazon SageMaker
Building, Training and Deploying Custom Algorithms with Amazon SageMakerBuilding, Training and Deploying Custom Algorithms with Amazon SageMaker
Building, Training and Deploying Custom Algorithms with Amazon SageMaker
 
WhereML a Serverless ML Powered Location Guessing Twitter Bot
WhereML a Serverless ML Powered Location Guessing Twitter BotWhereML a Serverless ML Powered Location Guessing Twitter Bot
WhereML a Serverless ML Powered Location Guessing Twitter Bot
 
Building WhereML, an AI Powered Twitter Bot for Guessing Locations of Picture...
Building WhereML, an AI Powered Twitter Bot for Guessing Locations of Picture...Building WhereML, an AI Powered Twitter Bot for Guessing Locations of Picture...
Building WhereML, an AI Powered Twitter Bot for Guessing Locations of Picture...
 
Building a Serverless AI Powered Twitter Bot: Collision 2018
Building a Serverless AI Powered Twitter Bot: Collision 2018Building a Serverless AI Powered Twitter Bot: Collision 2018
Building a Serverless AI Powered Twitter Bot: Collision 2018
 
Where ml ai_heavy
Where ml ai_heavyWhere ml ai_heavy
Where ml ai_heavy
 
Serverless AI with Scikit-Learn (GPSWS405) - AWS re:Invent 2018
Serverless AI with Scikit-Learn (GPSWS405) - AWS re:Invent 2018Serverless AI with Scikit-Learn (GPSWS405) - AWS re:Invent 2018
Serverless AI with Scikit-Learn (GPSWS405) - AWS re:Invent 2018
 
Building Deep Learning Applications with TensorFlow and SageMaker on AWS - Te...
Building Deep Learning Applications with TensorFlow and SageMaker on AWS - Te...Building Deep Learning Applications with TensorFlow and SageMaker on AWS - Te...
Building Deep Learning Applications with TensorFlow and SageMaker on AWS - Te...
 
Predicting the Future with Amazon SageMaker - AWS Summit Sydney 2018
Predicting the Future with Amazon SageMaker - AWS Summit Sydney 2018Predicting the Future with Amazon SageMaker - AWS Summit Sydney 2018
Predicting the Future with Amazon SageMaker - AWS Summit Sydney 2018
 
Perform Machine Learning at the IoT Edge using AWS Greengrass and Amazon Sage...
Perform Machine Learning at the IoT Edge using AWS Greengrass and Amazon Sage...Perform Machine Learning at the IoT Edge using AWS Greengrass and Amazon Sage...
Perform Machine Learning at the IoT Edge using AWS Greengrass and Amazon Sage...
 
AWS의 새로운 언어, 음성, 텍스트 처리 인공 지능 서비스, Amazon SageMaker::Sunil Mallya::AWS Summit...
AWS의 새로운 언어, 음성, 텍스트 처리 인공 지능 서비스, Amazon SageMaker::Sunil Mallya::AWS Summit...AWS의 새로운 언어, 음성, 텍스트 처리 인공 지능 서비스, Amazon SageMaker::Sunil Mallya::AWS Summit...
AWS의 새로운 언어, 음성, 텍스트 처리 인공 지능 서비스, Amazon SageMaker::Sunil Mallya::AWS Summit...
 
Supercharge Your ML Model with SageMaker - AWS Summit Sydney 2018
Supercharge Your ML Model with SageMaker - AWS Summit Sydney 2018Supercharge Your ML Model with SageMaker - AWS Summit Sydney 2018
Supercharge Your ML Model with SageMaker - AWS Summit Sydney 2018
 
Quickly and easily build, train, and deploy machine learning models at any scale
Quickly and easily build, train, and deploy machine learning models at any scaleQuickly and easily build, train, and deploy machine learning models at any scale
Quickly and easily build, train, and deploy machine learning models at any scale
 
Build, Train, and Deploy ML Models Quickly and Easily with Amazon SageMaker, ...
Build, Train, and Deploy ML Models Quickly and Easily with Amazon SageMaker, ...Build, Train, and Deploy ML Models Quickly and Easily with Amazon SageMaker, ...
Build, Train, and Deploy ML Models Quickly and Easily with Amazon SageMaker, ...
 
Work with Machine Learning in Amazon SageMaker - BDA203 - Toronto AWS Summit
Work with Machine Learning in Amazon SageMaker - BDA203 - Toronto AWS SummitWork with Machine Learning in Amazon SageMaker - BDA203 - Toronto AWS Summit
Work with Machine Learning in Amazon SageMaker - BDA203 - Toronto AWS Summit
 
Intelligence of Things: IoT, AWS DeepLens and Amazon SageMaker - AWS Summit S...
Intelligence of Things: IoT, AWS DeepLens and Amazon SageMaker - AWS Summit S...Intelligence of Things: IoT, AWS DeepLens and Amazon SageMaker - AWS Summit S...
Intelligence of Things: IoT, AWS DeepLens and Amazon SageMaker - AWS Summit S...
 
Introducing Amazon SageMaker - AWS Online Tech Talks
Introducing Amazon SageMaker - AWS Online Tech TalksIntroducing Amazon SageMaker - AWS Online Tech Talks
Introducing Amazon SageMaker - AWS Online Tech Talks
 
Build, Train, and Deploy ML Models Quickly and Easily with Amazon SageMaker, ...
Build, Train, and Deploy ML Models Quickly and Easily with Amazon SageMaker, ...Build, Train, and Deploy ML Models Quickly and Easily with Amazon SageMaker, ...
Build, Train, and Deploy ML Models Quickly and Easily with Amazon SageMaker, ...
 
Build, Train, and Deploy ML Models Quickly and Easily with Amazon SageMaker, ...
Build, Train, and Deploy ML Models Quickly and Easily with Amazon SageMaker, ...Build, Train, and Deploy ML Models Quickly and Easily with Amazon SageMaker, ...
Build, Train, and Deploy ML Models Quickly and Easily with Amazon SageMaker, ...
 

More from Amazon Web Services

Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...Amazon Web Services
 
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...Amazon Web Services
 
Esegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS FargateEsegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS FargateAmazon Web Services
 
Costruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSCostruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSAmazon Web Services
 
Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot Amazon Web Services
 
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...Amazon Web Services
 
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...Amazon Web Services
 
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows WorkloadsMicrosoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows WorkloadsAmazon Web Services
 
Database Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatareDatabase Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatareAmazon Web Services
 
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJSCrea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJSAmazon Web Services
 
API moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e webAPI moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e webAmazon Web Services
 
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatareDatabase Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatareAmazon Web Services
 
Tools for building your MVP on AWS
Tools for building your MVP on AWSTools for building your MVP on AWS
Tools for building your MVP on AWSAmazon Web Services
 
How to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckHow to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckAmazon Web Services
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without serversAmazon Web Services
 
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...Amazon Web Services
 
Introduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceIntroduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceAmazon Web Services
 

More from Amazon Web Services (20)

Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
 
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
 
Esegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS FargateEsegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS Fargate
 
Costruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSCostruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWS
 
Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot
 
Open banking as a service
Open banking as a serviceOpen banking as a service
Open banking as a service
 
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
 
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
 
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows WorkloadsMicrosoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
 
Computer Vision con AWS
Computer Vision con AWSComputer Vision con AWS
Computer Vision con AWS
 
Database Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatareDatabase Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatare
 
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJSCrea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
 
API moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e webAPI moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e web
 
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatareDatabase Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
 
Tools for building your MVP on AWS
Tools for building your MVP on AWSTools for building your MVP on AWS
Tools for building your MVP on AWS
 
How to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckHow to Build a Winning Pitch Deck
How to Build a Winning Pitch Deck
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without servers
 
Fundraising Essentials
Fundraising EssentialsFundraising Essentials
Fundraising Essentials
 
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
 
Introduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceIntroduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container Service
 

AWS Machine Learning Week SF: End to End Model Development Using SageMaker

  • 1. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. End to End - Model Development to Deployment using SageMaker Chaitanya Hazarey Solutions Architect, AWS chazarey@amazon.com Original Author: Matthew McClean
  • 2. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Collect and prepare training data Choose and optimize your ML algorithm Set up and manage environments for training Train and tune model (trial and error) Deploy model in production Scale and manage the production environment Easily build, train, and deploy machine learning models Amazon SageMaker
  • 3. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon SageMaker Pre-built notebooks for common problems K-Means Clustering Principal Component Analysis Neural Topic Modeling Factorization Machines Linear Learner - Regression XGBoost Latent Dirichlet Allocation Image Classification Seq2Seq Linear Learner - Classification ALGORITHMS Apache MXNet TensorFlow Caffe2, CNTK, PyTorch, Torch FRAMEWORKS Set up and manage environments for training Train and tune model (trial and error) Deploy model in production Scale and manage the production environment Built-in, high- performance algorithms Build
  • 4. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Pre-built notebooks for common problems Built-in, high- performance algorithms One-click training Hyperparameter optimization Build Train Deploy model in production Scale and manage the production environment Amazon SageMaker
  • 5. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Fully managed hosting with auto-scaling One-click deployment Pre-built notebooks for common problems Built-in, high- performance algorithms One-click training Hyperparameter optimization Build Train Deploy Amazon SageMaker
  • 6. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon SageMaker 1 I Notebook Instances 2 I Algorithms 3 I ML Training Service 4 I ML Hosting Service
  • 7. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. ① SageMaker Notebook Instances Zero Setup For Exploratory Data Analysis Just add data! • Recommendations/Personalization • Fraud Detection • Forecasting • Image Classification • Churn Prediction • Marketing Email/Campaign Targeting • Log processing and anomaly detection • Speech to Text • More… Authoring & Notebooks ETL Access to AWS Database services Access to S3 Data Lake
  • 8. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. ② SageMaker Built-In Algorithms 10x better Training code • Matrix Factorization • Regression • Principal Component Analysis • K-Means Clustering • Gradient Boosted Trees • And More! Amazon-Provided Algorithms Bring Your Own Script (SageMaker builds the Container) SageMaker Estimators in Apache Spark Bring Your Own Algorithm (You build the Container)
  • 9. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Training AlgorithmTraining Data ③ SageMaker ML Training Service Amazon S3 Amazon ECR Amazon SageMaker Training Algorithm Inference AlgorithmTraining Data Model Artifacts
  • 10. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. ⓸ SageMaker Hosting Service Amazon S3 Amazon SageMaker Training Data Model Artifacts EndPoint Model Artifacts Amazon ECRTraining Algorithm Inference AlgorithmInference Algorithm
  • 11. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. ⓸ SageMaker Hosting Service 100 20 Endpoint Configuration Inference EndPoint Model Versions 80 Amazon ECR Amazon S3Ground Truth
  • 12. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Example custom framework with Amazon SageMaker
  • 13. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon SageMaker 1 I Notebook Instances 2 I Algorithms 3 I ML Training Service 4 I ML Hosting Service Build & Test Deploy
  • 14. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. fast.ai • Designed to create world-class Deep Learning models • Based on PyTorch • Focus on practical application of DL (e.g. structured data) • Easy to extend and introduce new concepts/ideas • Used by popular online course for developers
  • 15. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. fast.ai
  • 16. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
  • 17. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon SageMaker Step 1: Build and train model on SageMaker notebook SageMaker Notebook Build & Train Amazon S3 Model Artefacts
  • 18. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon SageMaker Step 2: Create SageMaker model Amazon ECR Inference Image Build & Push
  • 19. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon SageMaker Step 3: Create SageMaker endpoint Amazon ECR SageMaker Hosting Deploy Amazon S3 Inference Image Model Artefacts
  • 20. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon SageMaker Example Architecture with custom framework SageMaker Notebook Amazon ECR SageMaker Hosting Build & Train Amazon S3 Model Artefacts Inference Image Build & Push Deploy
  • 21. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Inference Image Run docker run {image} serve /opt/ml/model Model Artefacts directorySageMaker run command
  • 22. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Inference Image Server post: /invocations get: /ping Inference Calls Endpoint Health HTTP Request NGINX GUNICORN FLASK ML code Python
  • 23. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. • Demo
  • 24. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Resources • Fast.ai MOOC : http://course.fast.ai/ • Fast.ai library: https://github.com/fastai/fastai • Demo Source: https://github.com/mattmcclean/sagemaker-lhr-summit-demo
  • 25. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. aws.amazon.com/activate Everything and Anything Startups Need to Get Started on AWS Thanks!

Editor's Notes

  1. Afternoon everyone, welcome the Loft, Training and Deploying Custom Algorithms with Amazon SageMaker. My name is Chaitanya Hazarey and I am a Solution Architect with AWS working with our emerging partners across US. What is the most interesting application of AI that you have come across. My session will be in 2 parts, a presentation giving you an overview of the SageMaker service and showing how you can build, train and deploy a custom algorithm or framework with Amazon Sagemaker and a demo showing the steps applied to bringing a fast.ai based algorithm to SageMaker via the console. Did anyone attend the previous SageMaker sessions? This talk will be more advanced than those going into more detail around how to bring custom frameworks to the platform.
  2. Each of these steps were very involved in the beginning Amazon SageMaker removes the complexity that holds back developer or Data Scientist success with each of these steps. Amazon SageMaker includes modules that can be used together or independently to build, train, and deploy your machine learning models.
  3. SageMaker makes it easy to build ML models and get them ready for training by providing everything you need to quickly connect to your training data, and to select and optimize the best algorithm and framework for your application. Amazon SageMaker includes hosted Jupyter notebooks that make it is easy to explore and visualize your training data stored in Amazon S3. You can connect directly to data in S3, or use AWS Glue to move data from Amazon RDS, Amazon DynamoDB, and Amazon Redshift into S3 for analysis in your notebook.   To help you select your algorithm, Amazon SageMaker includes the 10 most common machine learning algorithms which have been pre-installed and optimized to deliver up to 10 times the performance you’ll find running these algorithms anywhere else. Amazon SageMaker also comes pre-configured to run TensorFlow and Apache MXNet, two of the most popular open source frameworks, or you have the option of using your own framework.
  4. You can begin training your model with a single click in the Amazon SageMaker console. The service manages all of the underlying infrastructure for you and can easily scale to train models at petabyte scale. To make the training process even faster and easier, Amazon SageMaker can automatically tune your model to achieve the highest possible accuracy.
  5. Once your model is trained and tuned, SageMaker makes it easy to deploy in production so you can start generating predictions on new data (a process called inference). Amazon SageMaker deploys your model on an auto-scaling cluster of Amazon EC2 instances that are spread across multiple availability zones to deliver both high performance and high availability. It also includes built-in A/B testing capabilities to help you test your model and experiment with different versions to achieve the best results.   For maximum versatility, we designed Amazon SageMaker in three modules – Build, Train, and Deploy – that can be used together or independently as part of any existing ML workflow you might already have in place.
  6. SageMaker is built on 4 independent architectural components. ▪ Notebook instances where you do exploratory data analysis ▪ Amazon-provided algorithms to get you kick-started with ML ▪ The managed service for training models ▪ And the hosting service where you deploy models and we provide the API for you. There are no dependencies between these components. If you only want to host models you’ve created on premises you can do that. If you only want to train and deploy elsewhere you can do that. You never need to open a notebook to use SageMaker. However, that is the principal means of data exploration and every feature is callable from notebooks.
  7. Creating powerful data exploration notebooks is very easy: you choose your machine size, hit return and bang it’s there. In 1 click you can do nearly everything in ML. It’s connected to a containerized EBS storage volume and at your preference you have access to CPU and GPUs. We have more than 30 sample notebooks included in every instance that provide cut-and-paste ease of use to kick start your workflow. The sample notebooks provide business-focused solutions from churn prediction to demand forecasting, topic and object classification, log processing and anomaly detection. There’s a free tier available for exploration. Launch it, go through the examples and discover which samples apply to your needs.
  8. Back to architecture. You introduce algorithms into SageMaker 3 basic ways. You can use one of our highly-optimized built-in algorithms, you can build your own script built on MXNet, TensorFlow or the framework you build into the container yourself. Alternatively you can use a connection between Spark / SageMaker where Spark pre-processes your data and hands it off for training in SageMaker as demonstrated at Intuit. Or you can bring your own model trained elsewhere, perhaps on premises. You build the model locally, build your own container and ship the container to SageMaker for deployment.
  9. The SageMaker architecture is built on a foundation of docker containers. If you use the build-in algorithms or MXNet/TensorFlow the docker images are maintained and managed by the SageMaker team. If you bring your own algorithm or framework then you need to build your own training image and upload to Amazon ECR. You can use the containers that make the most sense. Data Scientists pull training data from S3 as well as a docker container that we provide. Data Scientists may also build their own models and import those containers into the training system. Once the model is trained we push the results back to s3 which we call the model artifacts.
  10. Developers and Operations take those model artifacts along with inference engines to serve predictions at an endpoint via REST. The endpoint is highly configurable providing the ability to evaluate several models at once and provide continuous training and deployment. Alternatively you may push your model to edge devices with the AWS Greengrass service.
  11. Putting a model into production is where the rubber hits the road. If your model is intended for an IoT or edge device you can use AWS Greengrass. AWS Greengrass is software that lets you run local compute, messaging, data caching, sync, and ML inference capabilities for connected devices in a secure way. Greengrass ML Inference is a feature of AWS Greengrass that makes it easy to perform ML inference locally on Greengrass Core devices using models that are built and trained in the cloud. SageMaker makes deploying in the cloud as simple as filling out a form. You start with defining a production variant. Production variants are units of hardware that you specify to host your predictive system. At AWS hardware is code and as such is as flexible as code. Here we specify our instancetype as a c3.4xlarge with an initial instance count of 3. Importantly we specify the initial variant weight as 100%. Build 1: Your model object is a connector between your model artifacts and your inference container image. When you deploy that model initially you’re sending 100% of the traffic to that endpoint and collecting ground truth. That might be the end of it, for a while. As your customers use the model you invariably find that the ground truth data from real world experience is different from the historical data used to build the model. As you retrain your model you will make updated model objects and need to test them before launching into production. Build 2: With endpoint configuration we can divert a percentage of traffic for A/B testing or what we call blue green testing. Unlike the old days where continuous integration on enterprise systems meant release cycles of weeks or months, training models from refreshed ground truth often takes place within hours. As you gain confidence in the updated model object you can divert all traffic to the new object and the continuous integration and deployment process continues. This enables rapid model development in near real-time on ground truth derived from actual customer experiences.
  12. SageMaker is built on 4 independent architectural components. ▪ Notebook instances where you do exploratory data analysis ▪ Amazon-provided algorithms to get you kick-started with ML ▪ The managed service for training models ▪ And the hosting service where you deploy models and we provide the API for you. There are no dependencies between these components. If you only want to host models you’ve created on premises you can do that. If you only want to train and deploy elsewhere you can do that. You never need to open a notebook to use SageMaker. However, that is the principal means of data exploration and every feature is callable from notebooks.
  13. Here is the example architecture we will go through to show how to use a custom framework with SageMaker. We will first spin up a SageMaker notebook to do the ML model build and training. The reason for using the SageMaker notebook is that we can iterate on our models quickly as the data is not too large and we will use a single machine to train our models. We won’t be using the built-in SageMaker Algorithms nor the SageMaker Training facility. Once our model is trained on our notebook we will then save the model locally on the notebook instance then upload the model artefacts to S3 as a tar.gz file. The next phase
  14. Here is the example architecture we will go through to show how to use a custom framework with SageMaker. We will first spin up a SageMaker notebook to do the ML model build and training. The reason for using the SageMaker notebook is that we can iterate on our models quickly as the data is not too large and we will use a single machine to train our models. We won’t be using the built-in SageMaker Algorithms nor the SageMaker Training facility. Once our model is trained on our notebook we will then save the model locally on the notebook instance then upload the model artefacts to S3 as a tar.gz file. The next phase
  15. Here is the example architecture we will go through to show how to use a custom framework with SageMaker. We will first spin up a SageMaker notebook to do the ML model build and training. The reason for using the SageMaker notebook is that we can iterate on our models quickly as the data is not too large and we will use a single machine to train our models. We won’t be using the built-in SageMaker Algorithms nor the SageMaker Training facility. Once our model is trained on our notebook we will then save the model locally on the notebook instance then upload the model artefacts to S3 as a tar.gz file. The next phase
  16. Here is the example architecture we will go through to show how to use a custom framework with SageMaker. We will first spin up a SageMaker notebook to do the ML model build and training. The reason for using the SageMaker notebook is that we can iterate on our models quickly as the data is not too large and we will use a single machine to train our models. We won’t be using the built-in SageMaker Algorithms nor the SageMaker Training facility. Once our model is trained on our notebook we will then save the model locally on the notebook instance then upload the model artefacts to S3 as a tar.gz file. The next phase