SlideShare a Scribd company logo
1 of 53
Download to read offline
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Build, Train, and Deploy ML Models
with Amazon SageMaker
Andrea Olgiati
Principal Engineer
AWS ML
A I M 4 0 4
Michael Chi
Director of Engineering
The National Football League / Next Gen Stats
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Agenda
Review Amazon SageMaker
• Build, train, and deploy
• Algorithms, frameworks, bring your own, and automatic model tuning
Realtime deployment at scale
• Creating and updating endpoints
• Reduced risk deployments
• Autoscaling
Customer story
• NFL Next Gen Stats
• How the NFL delivers with Amazon SageMaker
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
M L F R A M E W O R K S &
I N F R A S T R U C T U R E
A I S E R V I C E S
R E K O G N I T I O N
I M A G E
P O L L Y T R A N S C R I B E T R A N S L A T E C O M P R E H E N D L E XR E K O G N I T I O N
V I D E O
Vision Speech Language Chatbots &
Contact Centers
M L S E R V I C E S A M A Z O N
S A G E M A K E R
A M A Z O N E C 2
C 5 I n s t a n c e s
A M A Z O N E C 2
P 3 I n s t a n c e s
F P G A s
Frameworks Interfaces
Infrastructure
The Amazon Machine Learning Stack
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
1
2
3
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Machine Learning Made Simple
One-click
model training
& deployment
10x
better algorithm
performance
Predictive insights
to improve business
decision making
M L S E R V I C E S
A M A Z O N
S A G E M A K E R
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon SageMaker simplifies Machine Learning
Build Train Deploy
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon SageMaker modules
Build Train Deploy
• Notebook instances
• Call APIs from your
device
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon SageMaker modules
Build Train Deploy
• Managed
• Distributed
• High performance
I/O
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon SageMaker modules
Build Train Deploy
• Realtime endpoints
• Batch transform
• AWS Greengrass
• AWS DeepLens
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon SageMaker features
SageMaker
algorithms
Frameworks
Bring
your own
Automatic
model tuning
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon SageMaker features
SageMaker
algorithms
Frameworks
Bring
your own
Automatic
model tuning
• Designed for speed and
scale
• Supervised,
unsupervised, computer
vision, and NLP
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon SageMaker features
SageMaker
algorithms
Frameworks
Bring
your own
Automatic
model tuning
• 20 lines of Python
• Open sourced
• Local mode for testing
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon SageMaker features
SageMaker
algorithms
Frameworks
Bring
your own
Automatic
model tuning
• Publish to a container
registry
• R, Java, Julia, etc.
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon SageMaker features
SageMaker
algorithms
Frameworks
Bring
your own
Automatic
model tuning
• Efficient meta-model
hyperparameter tuning
• Works with algorithms,
frameworks, and BYO
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Creating endpoints
Easy deployment to
production REST API
Scalable, high
throughput, and high
reliability
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Creating endpoints
Model aws sagemaker create-model
--model-name model1
--primary-container ‘{“Image”: “123.dkr.ecr.amazonaws.com/algo”,
“ModelDataUrl”: “s3://bkt/model1.tar.gz”}’
--execution-role-arn arn:aws:iam::123:role/me
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Creating endpoints
Model
Endpoint
configuration
aws sagemaker create-model
--model-name model1
--primary-container ‘{“Image”: “123.dkr.ecr.amazonaws.com/algo”,
“ModelDataUrl”: “s3://bkt/model1.tar.gz”}’
--execution-role-arn arn:aws:iam::123:role/me
aws sagemaker create-endpoint-config
--endpoint-config-name model1-config
--production-variants ‘{“InitialInstanceCount”: 2,
“InstanceType”: “ml.m4.xlarge”,
”InitialVariantWeight”: 1,
”ModelName”: “model1”,
”VariantName”: “AllTraffic”}’
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Creating endpoints
Model
Endpoint
configuration
Endpoint
aws sagemaker create-model
--model-name model1
--primary-container ‘{“Image”: “123.dkr.ecr.amazonaws.com/algo”,
“ModelDataUrl”: “s3://bkt/model1.tar.gz”}’
--execution-role-arn arn:aws:iam::123:role/me
aws sagemaker create-endpoint-config
--endpoint-config-name model1-config
--production-variants ‘{“InitialInstanceCount”: 2,
“InstanceType”: “ml.m4.xlarge”,
”InitialVariantWeight”: 1,
”ModelName”: “model1”,
”VariantName”: “AllTraffic”}’
aws sagemaker create-endpoint
--endpoint-name my-endpoint
--endpoint-config-name model1-config
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Updating endpoints
Blue-green
deployments means
no scheduled
downtime
Deploy one or more
models behind the
same endpoint
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Updating endpoints
New model aws sagemaker create-model
--model-name model2
--primary-container ‘{“Image”: “123.dkr.ecr.amazonaws.com/algo”,
“ModelDataUrl”: “s3://bkt/model2.tar.gz”}’
--execution-role-arn arn:aws:iam::123:role/me
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Updating endpoints
New model
New endpoint
configuration
aws sagemaker create-model
--model-name model2
--primary-container ‘{“Image”: “123.dkr.ecr.amazonaws.com/algo”,
“ModelDataUrl”: “s3://bkt/model2.tar.gz”}’
--execution-role-arn arn:aws:iam::123:role/me
aws sagemaker create-endpoint-config
--endpoint-config-name model2-config
--production-variants ‘{“InitialInstanceCount”: 2,
“InstanceType”: “ml.m4.xlarge”,
”InitialVariantWeight”: 1,
”ModelName”: “model2”,
”VariantName”: “AllTraffic”}’
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Updating endpoints
New model
New endpoint
configuration
Same
endpoint
aws sagemaker create-model
--model-name model2
--primary-container ‘{“Image”: “123.dkr.ecr.amazonaws.com/algo”,
“ModelDataUrl”: “s3://bkt/model2.tar.gz”}
--execution-role-arn arn:aws:iam::123:role/me
aws sagemaker create-endpoint-config
--endpoint-config-name model2-config
--production-variants ‘{“InitialInstanceCount”: 2,
“InstanceType”: “ml.m4.xlarge”,
”InitialVariantWeight”: 1,
”ModelName”: “model2”,
”VariantName”: “AllTraffic”}’
aws sagemaker update-endpoint
--endpoint-name my-endpoint
--endpoint-config-name model2-config
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Reduced risk deployments
Incrementally retrain
models with new data
Try new models and
improved algorithms
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Reduced risk deployments
Two model
endpoint
configuration
aws sagemaker create-endpoint-config
--endpoint-config-name both-models-config
--production-variants ‘[{“InitialInstanceCount”: 2,
“InstanceType”: “ml.m4.xlarge”,
”InitialVariantWeight”: 95,
”ModelName”: “model1”,
”VariantName”: “model1-traffic”},
{“InitialInstanceCount”: 2,
“InstanceType”: “ml.m4.xlarge”,
”InitialVariantWeight”: 5,
”ModelName”: “model2”,
”VariantName”: “model2-traffic”}]’
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Reduced risk deployments
Two model
endpoint
configuration
Same
endpoint
aws sagemaker create-endpoint-config
--endpoint-config-name both-models-config
--production-variants ‘[{“InitialInstanceCount”: 2,
“InstanceType”: “ml.m4.xlarge”,
”InitialVariantWeight”: 95,
”ModelName”: “model1”,
”VariantName”: “model1-traffic”},
{“InitialInstanceCount”: 2,
“InstanceType”: “ml.m4.xlarge”,
”InitialVariantWeight”: 5,
”ModelName”: “model2”,
”VariantName”: “model2-traffic”}]’
aws sagemaker update-endpoint
--endpoint-name my-endpoint
--endpoint-config-name both-models-config
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Reduced risk deployments
Two model
endpoint
configuration
Same
endpoint
Swap
aws sagemaker create-endpoint-config
--endpoint-config-name both-models-config
--production-variants ‘[{“InitialInstanceCount”: 2,
“InstanceType”: “ml.m4.xlarge”,
”InitialVariantWeight”: 95,
”ModelName”: “model1”,
”VariantName”: “model1-traffic”},
{“InitialInstanceCount”: 2,
“InstanceType”: “ml.m4.xlarge”,
”InitialVariantWeight”: 5,
”ModelName”: “model2”,
”VariantName”: “model2-traffic”}]’
aws sagemaker update-endpoint
--endpoint-name my-endpoint
--endpoint-config-name both-models-config
aws sagemaker update-endpoint-weights-and-capacities
--endpoint-name my-endpoint
--desired-weights-and-capacities ‘{“VariantName”: ”model1”,
“DesiredWeight”: 5}’
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Automatically scaling endpoints
SageMaker console settings:
• Min and max instances
• Target invocations per
instance
• Scaling cool downs
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Why automatic scaling?
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Automatic scaling in action
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Scaling criteria
Algorithms have
different memory,
CPU, or GPU
requirements
Autoscale based on
endpoint instance’s
CloudWatch Metrics
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Creating an automatic scaling policy
Variant aws application-autoscaling register-scalable-target
--service-namespace sagemaker
--resource-id endpoint/my-endpoint/variant/model2
--scalable-dimension sagemaker:variant:DesiredInstanceCount
--min-capacity 2
--max-capacity 5
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Creating an automatic scaling policy
Variant
Policy
aws application-autoscaling register-scalable-target
--service-namespace sagemaker
--resource-id endpoint/my-endpoint/variant/model2
--scalable-dimension sagemaker:variant:DesiredInstanceCount
--min-capacity 2
--max-capacity 5
aws application-autoscaling put-scaling-policy
--policy-name model2-scaling
--service-namespace sagemaker
--resource-id endpoint/my-endpoint/variant/model2
--scalable-dimension sagemaker:variant:DesiredInstanceCount
--policy-type TargetTrackingScaling
--target-tracking-scaling-policy-configuration
‘{"TargetValue": 50,
"CustomizedMetricSpecification":
{"MetricName": "CPUUtilization",
"Namespace": "/aws/sagemaker/Endpoints",
"Dimensions":
[{"Name": "EndpointName", "Value": "my-endpoint"},
{"Name": "VariantName","Value": ”model2"}],
"Statistic": "Average",
"Unit": "Percent”}}’
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Creating an automatic scaling policy
Variant
Policy
aws application-autoscaling register-scalable-target
--service-namespace sagemaker
--resource-id endpoint/my-endpoint/variant/model2
--scalable-dimension sagemaker:variant:DesiredInstanceCount
--min-capacity 2
--max-capacity 5
aws application-autoscaling put-scaling-policy
--policy-name model2-scaling
--service-namespace sagemaker
--resource-id endpoint/my-endpoint/variant/model2
--scalable-dimension sagemaker:variant:DesiredInstanceCount
--policy-type TargetTrackingScaling
--target-tracking-scaling-policy-configuration
‘{"TargetValue": 50,
"CustomizedMetricSpecification":
{"MetricName": "CPUUtilization",
"Namespace": "/aws/sagemaker/Endpoints",
"Dimensions":
[{"Name": "EndpointName", "Value": "my-endpoint"},
{"Name": "VariantName","Value": ”model2"}],
"Statistic": "Average",
"Unit": "Percent”}}’
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Scale by utilization
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
What is the National Football League?
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
What is Next Gen
Stats?
• The NFL’s player tracking
initiative
• Capture, process and
distribute data in real-time
• 1 TB of data per season
RFID Chip
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
The Next Gen Stats
team
• ‘Lean’ team consisting of
• Engineers
• Operations
• Product/Analysts
• PMs
• Strong at software
development
• Limited data science
experience
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
How we deliver
• Entire platform runs on AWS
• DC/OS cluster on Amazon Elastic Compute Cloud (Amazon EC2)
• Amazon API Gateway
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
How we deliver – with Amazon SageMaker
• Entire platform runs on AWS
• DC/OS cluster on EC2
• API Gateway
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
How we create stats
Derived Metrics
// pseudo code for Who Covered Who
if (defenderLinedUpAgainstReceiver()) {
return isClosestToReceiverAtPass() &&
isClosestToReceiverAtCatchOrIncompletion();
} else {
if (defenderClosesInOnReceiver()) {
return isClosestToReceiverAtPass() &&
isClosestToReceiverAtCatchOrIncompletion();
} else {
return false;
}
}
Tuple<Double, Double> passerCoordinate =
new Tuple<>(passInfo.getPasserX(), passInfo.getPasserY());
Tuple<Double, Double> receiverCoordinate =
new Tuple<>(passInfo.getTargetX(), passInfo.getTargetY());
if (passInfo.hasPasserCoordinate() &&
passInfo.hasTargetCoordinate()) {
Double airYards;
if (LEFT.equals(play.getPlayDirection())) {
airYards = play.getAbsoluteYardlineNumber() –
receiverCoordinate.getT1();
} else {
airYards = receiverCoordinate.getT1() –
play.getAbsoluteYardlineNumber();
}
Double airYardsToSticks = airYards - play.getYardsToGo();
passInfo.setAirDistance(useDistanceFormula(passerCoordinate,
receiverCoordinate));
passInfo.setAirYards(airYards);
passInfo.setAirYardsToSticks(airYardsToSticks);
}
Rules Based
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
How we create stats
Machine Learned
xgb = sagemaker.estimator.Estimator(training_img,
role,
base_job_name='ecp-modeling',
train_instance_count=1,
train_instance_type='ml.m4.xlarge',
output_path='s3://{}/{}/output'.format(bucket, prefix),
sagemaker_session=sess)
xgb.set_hyperparameters(
eval_metric='error',
objective='binary:logistic',
num_round=200,
rate_drop=0.2,
silent=0
)
hyperparameter_ranges = {
'eta': ContinuousParameter(0.1, 0.5),
'alpha': ContinuousParameter(0, 2),
'min_child_weight': ContinuousParameter(0, 120),
'subsample': ContinuousParameter(0.5, 1),
'max_depth': IntegerParameter(1, 10)
}
tuner = HyperparameterTuner(xgb,
'validation:error',
hyperparameter_ranges,
objective_type='Minimize',
max_jobs=30,
max_parallel_jobs=3,
base_tuning_job_name='ecp-hpo-
tuning')
tuner.fit({'train': s3_input_train, 'validation':
s3_input_validation})
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Completion Probability – Quantifying the difficulty of
a pass based on numerous features
• Receiver separation
• Receiver lineup
• Time to throw
• QB separation from rusher
• Air yards/distance
• Scramble yards
• Target Separation from CB
• Double coverage
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Completion Probability – with Amazon SageMaker
• SageMaker XGBoost
• Trained with ~35k plays
• 11 key features
• Iterative Process
print("Deploy Model")
endpoint_name = 'ecp-tuned-test-params'
try:
xgb_predictor = tuner.deploy(
initial_instance_count=1,
instance_type='ml.m4.xlarge’,
endpoint_name=endpoint_name
)
print("Building a new predictor")
except:
xgb_predictor =
sagemaker.predictor.RealTimePredictor(endpoint=endpoi
nt_name, sagemaker_session=sess)
print("Using an existing endpoint")
xgb_predictor.content_type = 'text/csv'
xgb_predictor.serializer = csv_serializer
xgb_predictor.deserializer = None
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Early Lessons
• Feature selection
• Inefficient model training
• Consistent process
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Advantages
• Lowers barrier to entry
• Common approach for
development teams
• Consistent deployment
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Conclusion
• Amazon SageMaker is a versatile platform to build, train,
and deploy machine learning models at scale.
• Customers like the NFL are benefiting from integrating
Amazon SageMaker into their delivery pipelines.
• Explore Amazon SageMaker (free tier eligible*) and build
models of your own.
*https://aws.amazon.com/free/
Thank you!
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Michael Chi, NFL
Andrea Olgiati, AWS
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.

More Related Content

What's hot

Using Amazon SageMaker and AWS DeepLens with Teams New to Machine Learning (G...
Using Amazon SageMaker and AWS DeepLens with Teams New to Machine Learning (G...Using Amazon SageMaker and AWS DeepLens with Teams New to Machine Learning (G...
Using Amazon SageMaker and AWS DeepLens with Teams New to Machine Learning (G...Amazon Web Services
 
Smart Home Skill API: Connect Any Device to Alexa & Control Any Feature (ALX3...
Smart Home Skill API: Connect Any Device to Alexa & Control Any Feature (ALX3...Smart Home Skill API: Connect Any Device to Alexa & Control Any Feature (ALX3...
Smart Home Skill API: Connect Any Device to Alexa & Control Any Feature (ALX3...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
 
Real-Time Personalized Customer Experiences at Bonobos (RET203) - AWS re:Inve...
Real-Time Personalized Customer Experiences at Bonobos (RET203) - AWS re:Inve...Real-Time Personalized Customer Experiences at Bonobos (RET203) - AWS re:Inve...
Real-Time Personalized Customer Experiences at Bonobos (RET203) - AWS re:Inve...Amazon Web Services
 
Scale Your Studio: Rendering with Spot and Deadline on AWS (CMP202) - AWS re:...
Scale Your Studio: Rendering with Spot and Deadline on AWS (CMP202) - AWS re:...Scale Your Studio: Rendering with Spot and Deadline on AWS (CMP202) - AWS re:...
Scale Your Studio: Rendering with Spot and Deadline on AWS (CMP202) - AWS re:...Amazon Web Services
 
[REPEAT 1] Create and Publish AR, VR, and 3D Applications Using Amazon Sumeri...
[REPEAT 1] Create and Publish AR, VR, and 3D Applications Using Amazon Sumeri...[REPEAT 1] Create and Publish AR, VR, and 3D Applications Using Amazon Sumeri...
[REPEAT 1] Create and Publish AR, VR, and 3D Applications Using Amazon Sumeri...Amazon Web Services
 
Introduction to AI services for Developers - Builders Day Israel
Introduction to AI services for Developers - Builders Day IsraelIntroduction to AI services for Developers - Builders Day Israel
Introduction to AI services for Developers - Builders Day IsraelAmazon Web Services
 
Architectures for Gaining Data Insights into Your Contact Center Experience (...
Architectures for Gaining Data Insights into Your Contact Center Experience (...Architectures for Gaining Data Insights into Your Contact Center Experience (...
Architectures for Gaining Data Insights into Your Contact Center Experience (...Amazon Web Services
 
Deep Dive on Amazon S3 Storage Classes: Creating Cost Efficiencies across You...
Deep Dive on Amazon S3 Storage Classes: Creating Cost Efficiencies across You...Deep Dive on Amazon S3 Storage Classes: Creating Cost Efficiencies across You...
Deep Dive on Amazon S3 Storage Classes: Creating Cost Efficiencies across You...Amazon Web Services
 
Deep Learning Applications Using PyTorch, Featuring Facebook (AIM402-R) - AWS...
Deep Learning Applications Using PyTorch, Featuring Facebook (AIM402-R) - AWS...Deep Learning Applications Using PyTorch, Featuring Facebook (AIM402-R) - AWS...
Deep Learning Applications Using PyTorch, Featuring Facebook (AIM402-R) - AWS...Amazon Web Services
 
Broadcasting the World's Largest Sporting Events: AWS Media Services When It ...
Broadcasting the World's Largest Sporting Events: AWS Media Services When It ...Broadcasting the World's Largest Sporting Events: AWS Media Services When It ...
Broadcasting the World's Largest Sporting Events: AWS Media Services When It ...Amazon Web Services
 
Machine Learning at the Edge (AIM302) - AWS re:Invent 2018
Machine Learning at the Edge (AIM302) - AWS re:Invent 2018Machine Learning at the Edge (AIM302) - AWS re:Invent 2018
Machine Learning at the Edge (AIM302) - AWS re:Invent 2018Amazon Web Services
 
Machine Learning for Improving Disaster Management and Response (WPS313) - AW...
Machine Learning for Improving Disaster Management and Response (WPS313) - AW...Machine Learning for Improving Disaster Management and Response (WPS313) - AW...
Machine Learning for Improving Disaster Management and Response (WPS313) - AW...Amazon Web Services
 
Machine Learning for the Enterprise, ft. Sony Interactive Entertainment (ENT2...
Machine Learning for the Enterprise, ft. Sony Interactive Entertainment (ENT2...Machine Learning for the Enterprise, ft. Sony Interactive Entertainment (ENT2...
Machine Learning for the Enterprise, ft. Sony Interactive Entertainment (ENT2...Amazon Web Services
 
Robocar Rally 2018 (AIM206-R20) - AWS re:Invent 2018
Robocar Rally 2018 (AIM206-R20) - AWS re:Invent 2018Robocar Rally 2018 (AIM206-R20) - AWS re:Invent 2018
Robocar Rally 2018 (AIM206-R20) - AWS re:Invent 2018Amazon Web Services
 
ENT205 Preparing Your Team for a Cloud Transformation
ENT205 Preparing Your Team for a Cloud TransformationENT205 Preparing Your Team for a Cloud Transformation
ENT205 Preparing Your Team for a Cloud TransformationAmazon Web Services
 
Build Models for Aerial Images Using Amazon SageMaker (AIM334) - AWS re:Inven...
Build Models for Aerial Images Using Amazon SageMaker (AIM334) - AWS re:Inven...Build Models for Aerial Images Using Amazon SageMaker (AIM334) - AWS re:Inven...
Build Models for Aerial Images Using Amazon SageMaker (AIM334) - AWS re:Inven...Amazon Web Services
 
Vonage & Aspect: Transform Real-Time Communications & Customer Engagement (TL...
Vonage & Aspect: Transform Real-Time Communications & Customer Engagement (TL...Vonage & Aspect: Transform Real-Time Communications & Customer Engagement (TL...
Vonage & Aspect: Transform Real-Time Communications & Customer Engagement (TL...Amazon Web Services
 
Create an ML Factory in Financial Services with CI CD - FSI301 - New York AWS...
Create an ML Factory in Financial Services with CI CD - FSI301 - New York AWS...Create an ML Factory in Financial Services with CI CD - FSI301 - New York AWS...
Create an ML Factory in Financial Services with CI CD - FSI301 - New York AWS...Amazon Web Services
 
Add Real-Time Personalization and Recommendations to Your Applications (AIM39...
Add Real-Time Personalization and Recommendations to Your Applications (AIM39...Add Real-Time Personalization and Recommendations to Your Applications (AIM39...
Add Real-Time Personalization and Recommendations to Your Applications (AIM39...Amazon Web Services
 

What's hot (20)

Using Amazon SageMaker and AWS DeepLens with Teams New to Machine Learning (G...
Using Amazon SageMaker and AWS DeepLens with Teams New to Machine Learning (G...Using Amazon SageMaker and AWS DeepLens with Teams New to Machine Learning (G...
Using Amazon SageMaker and AWS DeepLens with Teams New to Machine Learning (G...
 
Smart Home Skill API: Connect Any Device to Alexa & Control Any Feature (ALX3...
Smart Home Skill API: Connect Any Device to Alexa & Control Any Feature (ALX3...Smart Home Skill API: Connect Any Device to Alexa & Control Any Feature (ALX3...
Smart Home Skill API: Connect Any Device to Alexa & Control Any Feature (ALX3...
 
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
 
Real-Time Personalized Customer Experiences at Bonobos (RET203) - AWS re:Inve...
Real-Time Personalized Customer Experiences at Bonobos (RET203) - AWS re:Inve...Real-Time Personalized Customer Experiences at Bonobos (RET203) - AWS re:Inve...
Real-Time Personalized Customer Experiences at Bonobos (RET203) - AWS re:Inve...
 
Scale Your Studio: Rendering with Spot and Deadline on AWS (CMP202) - AWS re:...
Scale Your Studio: Rendering with Spot and Deadline on AWS (CMP202) - AWS re:...Scale Your Studio: Rendering with Spot and Deadline on AWS (CMP202) - AWS re:...
Scale Your Studio: Rendering with Spot and Deadline on AWS (CMP202) - AWS re:...
 
[REPEAT 1] Create and Publish AR, VR, and 3D Applications Using Amazon Sumeri...
[REPEAT 1] Create and Publish AR, VR, and 3D Applications Using Amazon Sumeri...[REPEAT 1] Create and Publish AR, VR, and 3D Applications Using Amazon Sumeri...
[REPEAT 1] Create and Publish AR, VR, and 3D Applications Using Amazon Sumeri...
 
Introduction to AI services for Developers - Builders Day Israel
Introduction to AI services for Developers - Builders Day IsraelIntroduction to AI services for Developers - Builders Day Israel
Introduction to AI services for Developers - Builders Day Israel
 
Architectures for Gaining Data Insights into Your Contact Center Experience (...
Architectures for Gaining Data Insights into Your Contact Center Experience (...Architectures for Gaining Data Insights into Your Contact Center Experience (...
Architectures for Gaining Data Insights into Your Contact Center Experience (...
 
Deep Dive on Amazon S3 Storage Classes: Creating Cost Efficiencies across You...
Deep Dive on Amazon S3 Storage Classes: Creating Cost Efficiencies across You...Deep Dive on Amazon S3 Storage Classes: Creating Cost Efficiencies across You...
Deep Dive on Amazon S3 Storage Classes: Creating Cost Efficiencies across You...
 
Deep Learning Applications Using PyTorch, Featuring Facebook (AIM402-R) - AWS...
Deep Learning Applications Using PyTorch, Featuring Facebook (AIM402-R) - AWS...Deep Learning Applications Using PyTorch, Featuring Facebook (AIM402-R) - AWS...
Deep Learning Applications Using PyTorch, Featuring Facebook (AIM402-R) - AWS...
 
Broadcasting the World's Largest Sporting Events: AWS Media Services When It ...
Broadcasting the World's Largest Sporting Events: AWS Media Services When It ...Broadcasting the World's Largest Sporting Events: AWS Media Services When It ...
Broadcasting the World's Largest Sporting Events: AWS Media Services When It ...
 
Machine Learning at the Edge (AIM302) - AWS re:Invent 2018
Machine Learning at the Edge (AIM302) - AWS re:Invent 2018Machine Learning at the Edge (AIM302) - AWS re:Invent 2018
Machine Learning at the Edge (AIM302) - AWS re:Invent 2018
 
Machine Learning for Improving Disaster Management and Response (WPS313) - AW...
Machine Learning for Improving Disaster Management and Response (WPS313) - AW...Machine Learning for Improving Disaster Management and Response (WPS313) - AW...
Machine Learning for Improving Disaster Management and Response (WPS313) - AW...
 
Machine Learning for the Enterprise, ft. Sony Interactive Entertainment (ENT2...
Machine Learning for the Enterprise, ft. Sony Interactive Entertainment (ENT2...Machine Learning for the Enterprise, ft. Sony Interactive Entertainment (ENT2...
Machine Learning for the Enterprise, ft. Sony Interactive Entertainment (ENT2...
 
Robocar Rally 2018 (AIM206-R20) - AWS re:Invent 2018
Robocar Rally 2018 (AIM206-R20) - AWS re:Invent 2018Robocar Rally 2018 (AIM206-R20) - AWS re:Invent 2018
Robocar Rally 2018 (AIM206-R20) - AWS re:Invent 2018
 
ENT205 Preparing Your Team for a Cloud Transformation
ENT205 Preparing Your Team for a Cloud TransformationENT205 Preparing Your Team for a Cloud Transformation
ENT205 Preparing Your Team for a Cloud Transformation
 
Build Models for Aerial Images Using Amazon SageMaker (AIM334) - AWS re:Inven...
Build Models for Aerial Images Using Amazon SageMaker (AIM334) - AWS re:Inven...Build Models for Aerial Images Using Amazon SageMaker (AIM334) - AWS re:Inven...
Build Models for Aerial Images Using Amazon SageMaker (AIM334) - AWS re:Inven...
 
Vonage & Aspect: Transform Real-Time Communications & Customer Engagement (TL...
Vonage & Aspect: Transform Real-Time Communications & Customer Engagement (TL...Vonage & Aspect: Transform Real-Time Communications & Customer Engagement (TL...
Vonage & Aspect: Transform Real-Time Communications & Customer Engagement (TL...
 
Create an ML Factory in Financial Services with CI CD - FSI301 - New York AWS...
Create an ML Factory in Financial Services with CI CD - FSI301 - New York AWS...Create an ML Factory in Financial Services with CI CD - FSI301 - New York AWS...
Create an ML Factory in Financial Services with CI CD - FSI301 - New York AWS...
 
Add Real-Time Personalization and Recommendations to Your Applications (AIM39...
Add Real-Time Personalization and Recommendations to Your Applications (AIM39...Add Real-Time Personalization and Recommendations to Your Applications (AIM39...
Add Real-Time Personalization and Recommendations to Your Applications (AIM39...
 

Similar to Build, Train, and Deploy ML Models at Scale 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, ...Amazon Web Services
 
AWS Machine Learning Week SF: End to End Model Development Using SageMaker
AWS Machine Learning Week SF: End to End Model Development Using SageMakerAWS Machine Learning Week SF: End to End Model Development Using SageMaker
AWS Machine Learning Week SF: End to End Model Development Using 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
 
Securing Machine Learning Deployments for the Enterprise (SEC369-R1) - AWS re...
Securing Machine Learning Deployments for the Enterprise (SEC369-R1) - AWS re...Securing Machine Learning Deployments for the Enterprise (SEC369-R1) - AWS re...
Securing Machine Learning Deployments for the Enterprise (SEC369-R1) - AWS re...Amazon Web Services
 
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
 
Work with Machine Learning in Amazon SageMaker - BDA203 - Atlanta AWS Summit
Work with Machine Learning in Amazon SageMaker - BDA203 - Atlanta AWS SummitWork with Machine Learning in Amazon SageMaker - BDA203 - Atlanta AWS Summit
Work with Machine Learning in Amazon SageMaker - BDA203 - Atlanta AWS SummitAmazon Web Services
 
Build Your Recommendation Engine on AWS Today - AWS Summit Berlin 2018
Build Your Recommendation Engine on AWS Today - AWS Summit Berlin 2018Build Your Recommendation Engine on AWS Today - AWS Summit Berlin 2018
Build Your Recommendation Engine on AWS Today - AWS Summit Berlin 2018Yotam Yarden
 
ML Workflows with Amazon SageMaker and AWS Step Functions (API325) - AWS re:I...
ML Workflows with Amazon SageMaker and AWS Step Functions (API325) - AWS re:I...ML Workflows with Amazon SageMaker and AWS Step Functions (API325) - AWS re:I...
ML Workflows with Amazon SageMaker and AWS Step Functions (API325) - AWS re:I...Amazon 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 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
 
Amazon SageMaker and Chainer: Tips & Tricks (AIM329-R1) - AWS re:Invent 2018
Amazon SageMaker and Chainer: Tips & Tricks (AIM329-R1) - AWS re:Invent 2018Amazon SageMaker and Chainer: Tips & Tricks (AIM329-R1) - AWS re:Invent 2018
Amazon SageMaker and Chainer: Tips & Tricks (AIM329-R1) - AWS re:Invent 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
 
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
 
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
 
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
 
CI/CD for Your Machine Learning Pipeline with Amazon SageMaker (DVC303) - AWS...
CI/CD for Your Machine Learning Pipeline with Amazon SageMaker (DVC303) - AWS...CI/CD for Your Machine Learning Pipeline with Amazon SageMaker (DVC303) - AWS...
CI/CD for Your Machine Learning Pipeline with Amazon SageMaker (DVC303) - AWS...Amazon Web Services
 

Similar to Build, Train, and Deploy ML Models at Scale with Amazon SageMaker (20)

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, ...
 
AWS Machine Learning Week SF: End to End Model Development Using SageMaker
AWS Machine Learning Week SF: End to End Model Development Using SageMakerAWS Machine Learning Week SF: End to End Model Development Using SageMaker
AWS Machine Learning Week SF: End to End Model Development Using 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
 
Securing Machine Learning Deployments for the Enterprise (SEC369-R1) - AWS re...
Securing Machine Learning Deployments for the Enterprise (SEC369-R1) - AWS re...Securing Machine Learning Deployments for the Enterprise (SEC369-R1) - AWS re...
Securing Machine Learning Deployments for the Enterprise (SEC369-R1) - AWS re...
 
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
 
Work with Machine Learning in Amazon SageMaker - BDA203 - Atlanta AWS Summit
Work with Machine Learning in Amazon SageMaker - BDA203 - Atlanta AWS SummitWork with Machine Learning in Amazon SageMaker - BDA203 - Atlanta AWS Summit
Work with Machine Learning in Amazon SageMaker - BDA203 - Atlanta AWS Summit
 
Build Your Recommendation Engine on AWS Today - AWS Summit Berlin 2018
Build Your Recommendation Engine on AWS Today - AWS Summit Berlin 2018Build Your Recommendation Engine on AWS Today - AWS Summit Berlin 2018
Build Your Recommendation Engine on AWS Today - AWS Summit Berlin 2018
 
ML Workflows with Amazon SageMaker and AWS Step Functions (API325) - AWS re:I...
ML Workflows with Amazon SageMaker and AWS Step Functions (API325) - AWS re:I...ML Workflows with Amazon SageMaker and AWS Step Functions (API325) - AWS re:I...
ML Workflows with Amazon SageMaker and AWS Step Functions (API325) - AWS re:I...
 
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 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
 
Amazon SageMaker and Chainer: Tips & Tricks (AIM329-R1) - AWS re:Invent 2018
Amazon SageMaker and Chainer: Tips & Tricks (AIM329-R1) - AWS re:Invent 2018Amazon SageMaker and Chainer: Tips & Tricks (AIM329-R1) - AWS re:Invent 2018
Amazon SageMaker and Chainer: Tips & Tricks (AIM329-R1) - AWS re:Invent 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
 
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
 
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...
 
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 SageMaker
Amazon SageMakerAmazon SageMaker
Amazon SageMaker
 
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
 
CI/CD for Your Machine Learning Pipeline with Amazon SageMaker (DVC303) - AWS...
CI/CD for Your Machine Learning Pipeline with Amazon SageMaker (DVC303) - AWS...CI/CD for Your Machine Learning Pipeline with Amazon SageMaker (DVC303) - AWS...
CI/CD for Your Machine Learning Pipeline with Amazon SageMaker (DVC303) - AWS...
 

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
 

Build, Train, and Deploy ML Models at Scale with Amazon SageMaker

  • 1.
  • 2. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Build, Train, and Deploy ML Models with Amazon SageMaker Andrea Olgiati Principal Engineer AWS ML A I M 4 0 4 Michael Chi Director of Engineering The National Football League / Next Gen Stats
  • 3. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Agenda Review Amazon SageMaker • Build, train, and deploy • Algorithms, frameworks, bring your own, and automatic model tuning Realtime deployment at scale • Creating and updating endpoints • Reduced risk deployments • Autoscaling Customer story • NFL Next Gen Stats • How the NFL delivers with Amazon SageMaker
  • 4. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. M L F R A M E W O R K S & I N F R A S T R U C T U R E A I S E R V I C E S R E K O G N I T I O N I M A G E P O L L Y T R A N S C R I B E T R A N S L A T E C O M P R E H E N D L E XR E K O G N I T I O N V I D E O Vision Speech Language Chatbots & Contact Centers M L S E R V I C E S A M A Z O N S A G E M A K E R A M A Z O N E C 2 C 5 I n s t a n c e s A M A Z O N E C 2 P 3 I n s t a n c e s F P G A s Frameworks Interfaces Infrastructure The Amazon Machine Learning Stack
  • 5. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. 1 2 3
  • 6. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Machine Learning Made Simple One-click model training & deployment 10x better algorithm performance Predictive insights to improve business decision making M L S E R V I C E S A M A Z O N S A G E M A K E R
  • 7. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon SageMaker simplifies Machine Learning Build Train Deploy
  • 8. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon SageMaker modules Build Train Deploy • Notebook instances • Call APIs from your device
  • 9. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon SageMaker modules Build Train Deploy • Managed • Distributed • High performance I/O
  • 10. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon SageMaker modules Build Train Deploy • Realtime endpoints • Batch transform • AWS Greengrass • AWS DeepLens
  • 11. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon SageMaker features SageMaker algorithms Frameworks Bring your own Automatic model tuning
  • 12. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon SageMaker features SageMaker algorithms Frameworks Bring your own Automatic model tuning • Designed for speed and scale • Supervised, unsupervised, computer vision, and NLP
  • 13. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon SageMaker features SageMaker algorithms Frameworks Bring your own Automatic model tuning • 20 lines of Python • Open sourced • Local mode for testing
  • 14. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon SageMaker features SageMaker algorithms Frameworks Bring your own Automatic model tuning • Publish to a container registry • R, Java, Julia, etc.
  • 15. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon SageMaker features SageMaker algorithms Frameworks Bring your own Automatic model tuning • Efficient meta-model hyperparameter tuning • Works with algorithms, frameworks, and BYO
  • 16. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 17. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Creating endpoints Easy deployment to production REST API Scalable, high throughput, and high reliability
  • 18. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Creating endpoints Model aws sagemaker create-model --model-name model1 --primary-container ‘{“Image”: “123.dkr.ecr.amazonaws.com/algo”, “ModelDataUrl”: “s3://bkt/model1.tar.gz”}’ --execution-role-arn arn:aws:iam::123:role/me
  • 19. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Creating endpoints Model Endpoint configuration aws sagemaker create-model --model-name model1 --primary-container ‘{“Image”: “123.dkr.ecr.amazonaws.com/algo”, “ModelDataUrl”: “s3://bkt/model1.tar.gz”}’ --execution-role-arn arn:aws:iam::123:role/me aws sagemaker create-endpoint-config --endpoint-config-name model1-config --production-variants ‘{“InitialInstanceCount”: 2, “InstanceType”: “ml.m4.xlarge”, ”InitialVariantWeight”: 1, ”ModelName”: “model1”, ”VariantName”: “AllTraffic”}’
  • 20. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Creating endpoints Model Endpoint configuration Endpoint aws sagemaker create-model --model-name model1 --primary-container ‘{“Image”: “123.dkr.ecr.amazonaws.com/algo”, “ModelDataUrl”: “s3://bkt/model1.tar.gz”}’ --execution-role-arn arn:aws:iam::123:role/me aws sagemaker create-endpoint-config --endpoint-config-name model1-config --production-variants ‘{“InitialInstanceCount”: 2, “InstanceType”: “ml.m4.xlarge”, ”InitialVariantWeight”: 1, ”ModelName”: “model1”, ”VariantName”: “AllTraffic”}’ aws sagemaker create-endpoint --endpoint-name my-endpoint --endpoint-config-name model1-config
  • 21. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Updating endpoints Blue-green deployments means no scheduled downtime Deploy one or more models behind the same endpoint
  • 22. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Updating endpoints New model aws sagemaker create-model --model-name model2 --primary-container ‘{“Image”: “123.dkr.ecr.amazonaws.com/algo”, “ModelDataUrl”: “s3://bkt/model2.tar.gz”}’ --execution-role-arn arn:aws:iam::123:role/me
  • 23. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Updating endpoints New model New endpoint configuration aws sagemaker create-model --model-name model2 --primary-container ‘{“Image”: “123.dkr.ecr.amazonaws.com/algo”, “ModelDataUrl”: “s3://bkt/model2.tar.gz”}’ --execution-role-arn arn:aws:iam::123:role/me aws sagemaker create-endpoint-config --endpoint-config-name model2-config --production-variants ‘{“InitialInstanceCount”: 2, “InstanceType”: “ml.m4.xlarge”, ”InitialVariantWeight”: 1, ”ModelName”: “model2”, ”VariantName”: “AllTraffic”}’
  • 24. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Updating endpoints New model New endpoint configuration Same endpoint aws sagemaker create-model --model-name model2 --primary-container ‘{“Image”: “123.dkr.ecr.amazonaws.com/algo”, “ModelDataUrl”: “s3://bkt/model2.tar.gz”} --execution-role-arn arn:aws:iam::123:role/me aws sagemaker create-endpoint-config --endpoint-config-name model2-config --production-variants ‘{“InitialInstanceCount”: 2, “InstanceType”: “ml.m4.xlarge”, ”InitialVariantWeight”: 1, ”ModelName”: “model2”, ”VariantName”: “AllTraffic”}’ aws sagemaker update-endpoint --endpoint-name my-endpoint --endpoint-config-name model2-config
  • 25. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Reduced risk deployments Incrementally retrain models with new data Try new models and improved algorithms
  • 26. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Reduced risk deployments Two model endpoint configuration aws sagemaker create-endpoint-config --endpoint-config-name both-models-config --production-variants ‘[{“InitialInstanceCount”: 2, “InstanceType”: “ml.m4.xlarge”, ”InitialVariantWeight”: 95, ”ModelName”: “model1”, ”VariantName”: “model1-traffic”}, {“InitialInstanceCount”: 2, “InstanceType”: “ml.m4.xlarge”, ”InitialVariantWeight”: 5, ”ModelName”: “model2”, ”VariantName”: “model2-traffic”}]’
  • 27. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Reduced risk deployments Two model endpoint configuration Same endpoint aws sagemaker create-endpoint-config --endpoint-config-name both-models-config --production-variants ‘[{“InitialInstanceCount”: 2, “InstanceType”: “ml.m4.xlarge”, ”InitialVariantWeight”: 95, ”ModelName”: “model1”, ”VariantName”: “model1-traffic”}, {“InitialInstanceCount”: 2, “InstanceType”: “ml.m4.xlarge”, ”InitialVariantWeight”: 5, ”ModelName”: “model2”, ”VariantName”: “model2-traffic”}]’ aws sagemaker update-endpoint --endpoint-name my-endpoint --endpoint-config-name both-models-config
  • 28. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Reduced risk deployments Two model endpoint configuration Same endpoint Swap aws sagemaker create-endpoint-config --endpoint-config-name both-models-config --production-variants ‘[{“InitialInstanceCount”: 2, “InstanceType”: “ml.m4.xlarge”, ”InitialVariantWeight”: 95, ”ModelName”: “model1”, ”VariantName”: “model1-traffic”}, {“InitialInstanceCount”: 2, “InstanceType”: “ml.m4.xlarge”, ”InitialVariantWeight”: 5, ”ModelName”: “model2”, ”VariantName”: “model2-traffic”}]’ aws sagemaker update-endpoint --endpoint-name my-endpoint --endpoint-config-name both-models-config aws sagemaker update-endpoint-weights-and-capacities --endpoint-name my-endpoint --desired-weights-and-capacities ‘{“VariantName”: ”model1”, “DesiredWeight”: 5}’
  • 29. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Automatically scaling endpoints SageMaker console settings: • Min and max instances • Target invocations per instance • Scaling cool downs
  • 30. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Why automatic scaling?
  • 31. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Automatic scaling in action
  • 32. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Scaling criteria Algorithms have different memory, CPU, or GPU requirements Autoscale based on endpoint instance’s CloudWatch Metrics
  • 33. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Creating an automatic scaling policy Variant aws application-autoscaling register-scalable-target --service-namespace sagemaker --resource-id endpoint/my-endpoint/variant/model2 --scalable-dimension sagemaker:variant:DesiredInstanceCount --min-capacity 2 --max-capacity 5
  • 34. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Creating an automatic scaling policy Variant Policy aws application-autoscaling register-scalable-target --service-namespace sagemaker --resource-id endpoint/my-endpoint/variant/model2 --scalable-dimension sagemaker:variant:DesiredInstanceCount --min-capacity 2 --max-capacity 5 aws application-autoscaling put-scaling-policy --policy-name model2-scaling --service-namespace sagemaker --resource-id endpoint/my-endpoint/variant/model2 --scalable-dimension sagemaker:variant:DesiredInstanceCount --policy-type TargetTrackingScaling --target-tracking-scaling-policy-configuration ‘{"TargetValue": 50, "CustomizedMetricSpecification": {"MetricName": "CPUUtilization", "Namespace": "/aws/sagemaker/Endpoints", "Dimensions": [{"Name": "EndpointName", "Value": "my-endpoint"}, {"Name": "VariantName","Value": ”model2"}], "Statistic": "Average", "Unit": "Percent”}}’
  • 35. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Creating an automatic scaling policy Variant Policy aws application-autoscaling register-scalable-target --service-namespace sagemaker --resource-id endpoint/my-endpoint/variant/model2 --scalable-dimension sagemaker:variant:DesiredInstanceCount --min-capacity 2 --max-capacity 5 aws application-autoscaling put-scaling-policy --policy-name model2-scaling --service-namespace sagemaker --resource-id endpoint/my-endpoint/variant/model2 --scalable-dimension sagemaker:variant:DesiredInstanceCount --policy-type TargetTrackingScaling --target-tracking-scaling-policy-configuration ‘{"TargetValue": 50, "CustomizedMetricSpecification": {"MetricName": "CPUUtilization", "Namespace": "/aws/sagemaker/Endpoints", "Dimensions": [{"Name": "EndpointName", "Value": "my-endpoint"}, {"Name": "VariantName","Value": ”model2"}], "Statistic": "Average", "Unit": "Percent”}}’
  • 36. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Scale by utilization
  • 37. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 38. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. What is the National Football League?
  • 39. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. What is Next Gen Stats? • The NFL’s player tracking initiative • Capture, process and distribute data in real-time • 1 TB of data per season RFID Chip
  • 40. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. The Next Gen Stats team • ‘Lean’ team consisting of • Engineers • Operations • Product/Analysts • PMs • Strong at software development • Limited data science experience
  • 41. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. How we deliver • Entire platform runs on AWS • DC/OS cluster on Amazon Elastic Compute Cloud (Amazon EC2) • Amazon API Gateway
  • 42. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. How we deliver – with Amazon SageMaker • Entire platform runs on AWS • DC/OS cluster on EC2 • API Gateway
  • 43. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. How we create stats Derived Metrics // pseudo code for Who Covered Who if (defenderLinedUpAgainstReceiver()) { return isClosestToReceiverAtPass() && isClosestToReceiverAtCatchOrIncompletion(); } else { if (defenderClosesInOnReceiver()) { return isClosestToReceiverAtPass() && isClosestToReceiverAtCatchOrIncompletion(); } else { return false; } } Tuple<Double, Double> passerCoordinate = new Tuple<>(passInfo.getPasserX(), passInfo.getPasserY()); Tuple<Double, Double> receiverCoordinate = new Tuple<>(passInfo.getTargetX(), passInfo.getTargetY()); if (passInfo.hasPasserCoordinate() && passInfo.hasTargetCoordinate()) { Double airYards; if (LEFT.equals(play.getPlayDirection())) { airYards = play.getAbsoluteYardlineNumber() – receiverCoordinate.getT1(); } else { airYards = receiverCoordinate.getT1() – play.getAbsoluteYardlineNumber(); } Double airYardsToSticks = airYards - play.getYardsToGo(); passInfo.setAirDistance(useDistanceFormula(passerCoordinate, receiverCoordinate)); passInfo.setAirYards(airYards); passInfo.setAirYardsToSticks(airYardsToSticks); } Rules Based
  • 44. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. How we create stats Machine Learned xgb = sagemaker.estimator.Estimator(training_img, role, base_job_name='ecp-modeling', train_instance_count=1, train_instance_type='ml.m4.xlarge', output_path='s3://{}/{}/output'.format(bucket, prefix), sagemaker_session=sess) xgb.set_hyperparameters( eval_metric='error', objective='binary:logistic', num_round=200, rate_drop=0.2, silent=0 ) hyperparameter_ranges = { 'eta': ContinuousParameter(0.1, 0.5), 'alpha': ContinuousParameter(0, 2), 'min_child_weight': ContinuousParameter(0, 120), 'subsample': ContinuousParameter(0.5, 1), 'max_depth': IntegerParameter(1, 10) } tuner = HyperparameterTuner(xgb, 'validation:error', hyperparameter_ranges, objective_type='Minimize', max_jobs=30, max_parallel_jobs=3, base_tuning_job_name='ecp-hpo- tuning') tuner.fit({'train': s3_input_train, 'validation': s3_input_validation})
  • 45. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Completion Probability – Quantifying the difficulty of a pass based on numerous features • Receiver separation • Receiver lineup • Time to throw • QB separation from rusher • Air yards/distance • Scramble yards • Target Separation from CB • Double coverage
  • 46. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Completion Probability – with Amazon SageMaker • SageMaker XGBoost • Trained with ~35k plays • 11 key features • Iterative Process print("Deploy Model") endpoint_name = 'ecp-tuned-test-params' try: xgb_predictor = tuner.deploy( initial_instance_count=1, instance_type='ml.m4.xlarge’, endpoint_name=endpoint_name ) print("Building a new predictor") except: xgb_predictor = sagemaker.predictor.RealTimePredictor(endpoint=endpoi nt_name, sagemaker_session=sess) print("Using an existing endpoint") xgb_predictor.content_type = 'text/csv' xgb_predictor.serializer = csv_serializer xgb_predictor.deserializer = None
  • 47. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 48.
  • 49. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Early Lessons • Feature selection • Inefficient model training • Consistent process
  • 50. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Advantages • Lowers barrier to entry • Common approach for development teams • Consistent deployment
  • 51. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Conclusion • Amazon SageMaker is a versatile platform to build, train, and deploy machine learning models at scale. • Customers like the NFL are benefiting from integrating Amazon SageMaker into their delivery pipelines. • Explore Amazon SageMaker (free tier eligible*) and build models of your own. *https://aws.amazon.com/free/
  • 52. Thank you! © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Michael Chi, NFL Andrea Olgiati, AWS
  • 53. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.