Book description
Overcome advanced challenges in building end-to-end ML solutions by leveraging the capabilities of Amazon SageMaker for developing and integrating ML models into production
Key Features
- Learn best practices for all phases of building machine learning solutions - from data preparation to monitoring models in production
- Automate end-to-end machine learning workflows with Amazon SageMaker and related AWS
- Design, architect, and operate machine learning workloads in the AWS Cloud
Book Description
Amazon SageMaker is a fully managed AWS service that provides the ability to build, train, deploy, and monitor machine learning models. The book begins with a high-level overview of Amazon SageMaker capabilities that map to the various phases of the machine learning process to help set the right foundation. You'll learn efficient tactics to address data science challenges such as processing data at scale, data preparation, connecting to big data pipelines, identifying data bias, running A/B tests, and model explainability using Amazon SageMaker. As you advance, you'll understand how you can tackle the challenge of training at scale, including how to use large data sets while saving costs, monitoring training resources to identify bottlenecks, speeding up long training jobs, and tracking multiple models trained for a common goal. Moving ahead, you'll find out how you can integrate Amazon SageMaker with other AWS to build reliable, cost-optimized, and automated machine learning applications. In addition to this, you'll build ML pipelines integrated with MLOps principles and apply best practices to build secure and performant solutions.
By the end of the book, you'll confidently be able to apply Amazon SageMaker's wide range of capabilities to the full spectrum of machine learning workflows.
What you will learn
- Perform data bias detection with AWS Data Wrangler and SageMaker Clarify
- Speed up data processing with SageMaker Feature Store
- Overcome labeling bias with SageMaker Ground Truth
- Improve training time with the monitoring and profiling capabilities of SageMaker Debugger
- Address the challenge of model deployment automation with CI/CD using the SageMaker model registry
- Explore SageMaker Neo for model optimization
- Implement data and model quality monitoring with Amazon Model Monitor
- Improve training time and reduce costs with SageMaker data and model parallelism
Who this book is for
This book is for expert data scientists responsible for building machine learning applications using Amazon SageMaker. Working knowledge of Amazon SageMaker, machine learning, deep learning, and experience using Jupyter Notebooks and Python is expected. Basic knowledge of AWS related to data, security, and monitoring will help you make the most of the book.
Table of contents
- Amazon SageMaker Best Practices
- Contributors
- About the authors
- About the reviewers
- Preface
- Section 1: Processing Data at Scale
-
Chapter 1: Amazon SageMaker Overview
- Technical requirements
- Preparing, building, training and tuning, deploying, and managing ML models
- Discussion of data preparation capabilities
- Feature tour of model-building capabilities
- Feature tour of training and tuning capabilities
- Feature tour of model management and deployment capabilities
- Summary
- Chapter 2: Data Science Environments
- Chapter 3: Data Labeling with Amazon SageMaker Ground Truth
- Chapter 4: Data Preparation at Scale Using Amazon SageMaker Data Wrangler and Processing
-
Chapter 5: Centralized Feature Repository with Amazon SageMaker Feature Store
- Technical requirements
- Amazon SageMaker Feature Store essentials
- Creating feature groups
- Populating feature groups
- Retrieving features from feature groups
- Creating reusable features to reduce feature inconsistencies and inference latency
- Designing solutions for near real-time ML predictions
- Summary
- References
- Section 2: Model Training Challenges
- Chapter 6: Training and Tuning at Scale
- Chapter 7: Profile Training Jobs with Amazon SageMaker Debugger
- Section 3: Manage and Monitor Models
- Chapter 8: Managing Models at Scale Using a Model Registry
- Chapter 9: Updating Production Models Using Amazon SageMaker Endpoint Production Variants
- Chapter 10: Optimizing Model Hosting and Inference Costs
- Chapter 11: Monitoring Production Models with Amazon SageMaker Model Monitor and Clarify
- Section 4: Automate and Operationalize Machine Learning
- Chapter 12: Machine Learning Automated Workflows
-
Chapter 13:Well-Architected Machine Learning with Amazon SageMaker
- Best practices for operationalizing ML workloads
- Best practices for securing ML workloads
- Best practices for reliable ML workloads
- Best practices for building performant ML workloads
-
Best practices for cost-optimized ML workloads
- Optimizing data labeling costs
- Reducing experimentation costs with models from AWS Marketplace
- Using AutoML to reduce experimentation time
- Iterating locally with small datasets
- Rightsizing training infrastructure
- Optimizing hyperparameter-tuning costs
- Saving training costs with Managed Spot Training
- Using insights and recommendations from Debugger
- Saving ML infrastructure costs with SavingsPlan
- Optimizing inference costs
- Stopping or terminating resources
- Summary
- Chapter 14: Managing SageMaker Features across Accounts
- Other Books You May Enjoy
Product information
- Title: Amazon SageMaker Best Practices
- Author(s):
- Release date: September 2021
- Publisher(s): Packt Publishing
- ISBN: 9781801070522
You might also like
article
Reinventing the Organization for GenAI and LLMs
Previous technology breakthroughs did not upend organizational structure, but generative AI and LLMs will. We now …
article
Run Llama-2 Models Locally with llama.cpp
Llama is Meta’s answer to the growing demand for LLMs. Unlike its well-known technological relative, ChatGPT, …
book
Practical Machine Learning with AWS: Process, Build, Deploy, and Productionize Your Models Using AWS
Successfully build, tune, deploy, and productionize any machine learning model, and know how to automate the …
article
Detect Fraud Using Isolation Forest
These shortcuts delve into generative AI, where algorithms and models create synthetic data, detect anomalies, and …