Book Image

Getting Started with Amazon SageMaker Studio

By : Michael Hsieh
Book Image

Getting Started with Amazon SageMaker Studio

By: Michael Hsieh

Overview of this book

Amazon SageMaker Studio is the first integrated development environment (IDE) for machine learning (ML) and is designed to integrate ML workflows: data preparation, feature engineering, statistical bias detection, automated machine learning (AutoML), training, hosting, ML explainability, monitoring, and MLOps in one environment. In this book, you'll start by exploring the features available in Amazon SageMaker Studio to analyze data, develop ML models, and productionize models to meet your goals. As you progress, you will learn how these features work together to address common challenges when building ML models in production. After that, you'll understand how to effectively scale and operationalize the ML life cycle using SageMaker Studio. By the end of this book, you'll have learned ML best practices regarding Amazon SageMaker Studio, as well as being able to improve productivity in the ML development life cycle and build and deploy models easily for your ML use cases.
Table of Contents (16 chapters)
1
Part 1 – Introduction to Machine Learning on Amazon SageMaker Studio
4
Part 2 – End-to-End Machine Learning Life Cycle with SageMaker Studio
11
Part 3 – The Production and Operation of Machine Learning with SageMaker Studio

Training with code written in popular frameworks

SageMaker's fully managed training works with your favorite ML frameworks too, thanks to the container technology we mentioned previously. You may have been working with Tensorflow, PyTorch, Hugging Face, MXNet, scikit-learn, and many more. You can easily use them with SageMaker so that you can use its fully managed training capabilities and benefit from the ease of provisioning right-sized compute infrastructure. SageMaker enables you to use your own training scripts for custom models and run them on prebuilt containers for popular frameworks. This is known as Script Mode. For frameworks not covered by the prebuilt containers, you also can use your own container for virtually any framework of your choice.

Let's look at training a sentiment analysis model written in TensorFlow as an example to show you how to use your own script in SageMaker to run with SageMaker's prebuilt TensorFlow container. Then we will describe...