Book Image

Machine Learning with Amazon SageMaker Cookbook

By : Joshua Arvin Lat
Book Image

Machine Learning with Amazon SageMaker Cookbook

By: Joshua Arvin Lat

Overview of this book

Amazon SageMaker is a fully managed machine learning (ML) service that helps data scientists and ML practitioners manage ML experiments. In this book, you'll use the different capabilities and features of Amazon SageMaker to solve relevant data science and ML problems. This step-by-step guide features 80 proven recipes designed to give you the hands-on machine learning experience needed to contribute to real-world experiments and projects. You'll cover the algorithms and techniques that are commonly used when training and deploying NLP, time series forecasting, and computer vision models to solve ML problems. You'll explore various solutions for working with deep learning libraries and frameworks such as TensorFlow, PyTorch, and Hugging Face Transformers in Amazon SageMaker. You'll also learn how to use SageMaker Clarify, SageMaker Model Monitor, SageMaker Debugger, and SageMaker Experiments to debug, manage, and monitor multiple ML experiments and deployments. Moreover, you'll have a better understanding of how SageMaker Feature Store, Autopilot, and Pipelines can meet the specific needs of data science teams. By the end of this book, you'll be able to combine the different solutions you've learned as building blocks to solve real-world ML problems.
Table of Contents (11 chapters)

Technical requirements

To execute the recipes in the chapter, make sure you have the following:

  • A running Amazon SageMaker notebook instance (for example, ml.t2.large)
  • An Amazon S3 bucket

If you do not have these prerequisites ready yet, feel free to check the Launching an Amazon SageMaker notebook instance and Preparing the Amazon S3 bucket and the training dataset for the linear regression experiment recipes in Chapter 1, Getting Started with Machine Learning Using Amazon SageMaker.

As the recipes in this chapter involve a bit of code, we have made these scripts and notebooks available in this repository: https://github.com/PacktPublishing/Machine-Learning-with-Amazon-SageMaker-Cookbook/tree/master/Chapter05.

Figure 5.1 – Machine-Learning-with-Amazon-SageMaker-Cookbook GitHub repository

As seen in Figure 5.1, we have the source code for the scripts and notebooks for the recipes in this chapter organized inside the Chapter05 directory...