Book description
Using machine learning for products, services, and critical business processes is quite different from using ML in an academic or research setting—especially for recent ML graduates and those moving from research to a commercial environment. Whether you currently work to create products and services that use ML, or would like to in the future, this practical book gives you a broad view of the entire field.
Authors Robert Crowe, Hannes Hapke, Emily Caveness, and Di Zhu help you identify topics that you can dive into deeper, along with reference materials and tutorials that teach you the details. You'll learn the state of the art of machine learning engineering, including a wide range of topics such as modeling, deployment, and MLOps. You'll learn the basics and advanced aspects to understand the production ML lifecycle.
This book provides four in-depth sections that cover all aspects of machine learning engineering:
- Data: collecting, labeling, validating, automation, and data preprocessing; data feature engineering and selection; data journey and storage
- Modeling: high performance modeling; model resource management techniques; model analysis and interoperability; neural architecture search
- Deployment: model serving patterns and infrastructure for ML models and LLMs; management and delivery; monitoring and logging
- Productionalizing: ML pipelines; classifying unstructured texts and images; genAI model pipelines
Publisher resources
Table of contents
- Foreword
- Preface
- 1. Introduction to Machine Learning Production Systems
-
2. Collecting, Labeling, and Validating Data
- Important Considerations in Data Collection
- Responsible Data Collection
- Labeling Data: Data Changes and Drift in Production ML
- Labeling Data: Direct Labeling and Human Labeling
- Validating Data: Detecting Data Issues
- Validating Data: TensorFlow Data Validation
- Example: Spotting Imbalanced Datasets with TensorFlow Data Validation
- Conclusion
- 3. Feature Engineering and Feature Selection
- 4. Data Journey and Data Storage
- 5. Advanced Labeling, Augmentation, and Data Preprocessing
- 6. Model Resource Management Techniques
- 7. High-Performance Modeling
- 8. Model Analysis
- 9. Interpretability
- 10. Neural Architecture Search
- 11. Introduction to Model Serving
- 12. Model Serving Patterns
- 13. Model Serving Infrastructure
-
14. Model Serving Examples
-
Example: Deploying TensorFlow Models with TensorFlow Serving
- Exporting Keras Models for TF Serving
- Setting Up TF Serving with Docker
- Basic Configuration of TF Serving
- Making Model Prediction Requests with REST
- Making Model Prediction Requests with gRPC
- Getting Predictions from Classification and Regression Models
- Using Payloads
- Getting Model Metadata from TF Serving
- Making Batch Inference Requests
- Example: Profiling TF Serving Inferences with TF Profiler
- Example: Basic TorchServe Setup
- Conclusion
-
Example: Deploying TensorFlow Models with TensorFlow Serving
- 15. Model Management and Delivery
- 16. Model Monitoring and Logging
- 17. Privacy and Legal Requirements
- 18. Orchestrating Machine Learning Pipelines
-
19. Advanced TFX
- Advanced Pipeline Practices
- Custom TFX Components: Architecture and Use Cases
- Using Function-Based Custom Components
- Writing a Custom Component from Scratch
- Implementation Review
- Reusing Existing Components
- Creating Container-Based Custom Components
- Which Custom Component Is Right for You?
- TFX-Addons
- Conclusion
- 20. ML Pipelines for Computer Vision Problems
- 21. ML Pipelines for Natural Language Processing
- 22. Generative AI
- 23. The Future of Machine Learning Production Systems and Next Steps
- Index
- About the Authors
Product information
- Title: Machine Learning Production Systems
- Author(s):
- Release date: October 2024
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781098156015
You might also like
book
Machine Learning Engineering in Action
Field-tested tips, tricks, and design patterns for building machine learning projects that are deployable, maintainable, and …
book
Reliable Machine Learning
Whether you're part of a small startup or a multinational corporation, this practical book shows data …
book
Machine Learning for High-Risk Applications
The past decade has witnessed the broad adoption of artificial intelligence and machine learning (AI/ML) technologies. …
book
Designing Machine Learning Systems
Machine learning systems are both complex and unique. Complex because they consist of many different components …