1. Advanced Machine Learning with
Amazon SageMaker
Julien Simon
Principal Technical Evangelist, AI and Machine Learning
@julsimon
2. Amazon SageMaker
Fully managed
hosting with auto-
scaling
One-click
deployment for
HTTPS or batch
prediction
Pre-built
notebooks for
common
problems
Built-in, high-
performance
algorithms
One-click
training
Hyperparameter
optimization
Build Train Deploy
Easily build, train, and deploy ML models at any scale
11. Hyper Parameter Optimization
Finding the optimal set of hyper parameters
1. Manual Search (”I know what I’m doing”)
2. Random Search (“Spray and pray”)
3. Grid Search (“X marks the spot”)
• Typically training hundreds of models
• Slow and expensive
4. HPO: use Machine Learning
• Training fewer models
• Gaussian Process Regression and Bayesian Optimization,
https://docs.aws.amazon.com/sagemaker/latest/dg/automatic-model-tuning-how-it-works.html
15. Batch transform
• High-throughput method for generating inferences.
• Ideal when:
• You want to predict an entire dataset and store results online.
• You don't need a persistent endpoint for applications.
• You don't need low latency predictions.
• You want to preprocess your data.
• For large datasets or data of indeterminate size, you can create
an infinite stream.
• Train as usual, create aTransformer object and predict.
• Results are available in JSON format in Amazon S3.
21. Amazon SageMaker
Fully managed
hosting with auto-
scaling
One-click
deployment for
HTTPS or batch
prediction
Pre-built
notebooks for
common
problems
Built-in, high-
performance
algorithms
One-click
training
Hyperparameter
optimization
Build Train Deploy
Easily build, train, and deploy ML models at any scale
22. Thank you!
Julien Simon
PrincipalTechnical Evangelist, AI and Machine Learning
@julsimon
https://ml.aws
https://aws.amazon.com/blogs/ai
https://aws.amazon.com/sagemaker
https://github.com/awslabs/amazon-sagemaker-examples
https://github.com/aws/sagemaker-python-sdk
https://github.com/aws/sagemaker-spark
https://medium.com/@julsimon
https://youtube.com/juliensimonfr/