
Machine Learning Engineering with Python
Manage the lifecycle of machine learning models using MLOps with practical examples
Andrew P. McMahon(Author)
Packt Publishing
2nd Edition
Published on 31. August 2023
Book
Paperback/Softback
462 pages
978-1-83763-196-4 (ISBN)
Description
Transform your machine learning projects into successful deployments with this practical guide on how to build and scale solutions that solve real-world problems
Includes a new chapter on generative AI and large language models (LLMs) and building a pipeline that leverages LLMs using LangChain
Key Features
This second edition delves deeper into key machine learning topics, CI/CD, and system design
Explore core MLOps practices, such as model management and performance monitoring
Build end-to-end examples of deployable ML microservices and pipelines using AWS and open-source tools
Book DescriptionThe Second Edition of Machine Learning Engineering with Python is the practical guide that MLOps and ML engineers need to build solutions to real-world problems. It will provide you with the skills you need to stay ahead in this rapidly evolving field.
The book takes an examples-based approach to help you develop your skills and covers the technical concepts, implementation patterns, and development methodologies you need. You'll explore the key steps of the ML development lifecycle and create your own standardized "model factory" for training and retraining of models. You'll learn to employ concepts like CI/CD and how to detect different types of drift.
Get hands-on with the latest in deployment architectures and discover methods for scaling up your solutions. This edition goes deeper in all aspects of ML engineering and MLOps, with emphasis on the latest open-source and cloud-based technologies. This includes a completely revamped approach to advanced pipelining and orchestration techniques.
With a new chapter on deep learning, generative AI, and LLMOps, you will learn to use tools like LangChain, PyTorch, and Hugging Face to leverage LLMs for supercharged analysis. You will explore AI assistants like GitHub Copilot to become more productive, then dive deep into the engineering considerations of working with deep learning.What you will learn
Plan and manage end-to-end ML development projects
Explore deep learning, LLMs, and LLMOps to leverage generative AI
Use Python to package your ML tools and scale up your solutions
Get to grips with Apache Spark, Kubernetes, and Ray
Build and run ML pipelines with Apache Airflow, ZenML, and Kubeflow
Detect drift and build retraining mechanisms into your solutions
Improve error handling with control flows and vulnerability scanning
Host and build ML microservices and batch processes running on AWS
Who this book is forThis book is designed for MLOps and ML engineers, data scientists, and software developers who want to build robust solutions that use machine learning to solve real-world problems. If you're not a developer but want to manage or understand the product lifecycle of these systems, you'll also find this book useful. It assumes a basic knowledge of machine learning concepts and intermediate programming experience in Python. With its focus on practical skills and real-world examples, this book is an essential resource for anyone looking to advance their machine learning engineering career.
Includes a new chapter on generative AI and large language models (LLMs) and building a pipeline that leverages LLMs using LangChain
Key Features
This second edition delves deeper into key machine learning topics, CI/CD, and system design
Explore core MLOps practices, such as model management and performance monitoring
Build end-to-end examples of deployable ML microservices and pipelines using AWS and open-source tools
Book DescriptionThe Second Edition of Machine Learning Engineering with Python is the practical guide that MLOps and ML engineers need to build solutions to real-world problems. It will provide you with the skills you need to stay ahead in this rapidly evolving field.
The book takes an examples-based approach to help you develop your skills and covers the technical concepts, implementation patterns, and development methodologies you need. You'll explore the key steps of the ML development lifecycle and create your own standardized "model factory" for training and retraining of models. You'll learn to employ concepts like CI/CD and how to detect different types of drift.
Get hands-on with the latest in deployment architectures and discover methods for scaling up your solutions. This edition goes deeper in all aspects of ML engineering and MLOps, with emphasis on the latest open-source and cloud-based technologies. This includes a completely revamped approach to advanced pipelining and orchestration techniques.
With a new chapter on deep learning, generative AI, and LLMOps, you will learn to use tools like LangChain, PyTorch, and Hugging Face to leverage LLMs for supercharged analysis. You will explore AI assistants like GitHub Copilot to become more productive, then dive deep into the engineering considerations of working with deep learning.What you will learn
Plan and manage end-to-end ML development projects
Explore deep learning, LLMs, and LLMOps to leverage generative AI
Use Python to package your ML tools and scale up your solutions
Get to grips with Apache Spark, Kubernetes, and Ray
Build and run ML pipelines with Apache Airflow, ZenML, and Kubeflow
Detect drift and build retraining mechanisms into your solutions
Improve error handling with control flows and vulnerability scanning
Host and build ML microservices and batch processes running on AWS
Who this book is forThis book is designed for MLOps and ML engineers, data scientists, and software developers who want to build robust solutions that use machine learning to solve real-world problems. If you're not a developer but want to manage or understand the product lifecycle of these systems, you'll also find this book useful. It assumes a basic knowledge of machine learning concepts and intermediate programming experience in Python. With its focus on practical skills and real-world examples, this book is an essential resource for anyone looking to advance their machine learning engineering career.
More details
Edition
2nd Revised edition
Language
English
Place of publication
Birmingham
United Kingdom
Target group
Professional and scholarly
Edition type
Revised edition
Dimensions
Height: 235 mm
Width: 191 mm
Thickness: 25 mm
Weight
856 gr
ISBN-13
978-1-83763-196-4 (9781837631964)
Copyright in bibliographic data and cover images is held by Nielsen Book Services Limited or by the publishers or by their respective licensors: all rights reserved.
Schweitzer Classification
Other editions
Additional editions

Andrew P. McMahon
Machine Learning Engineering with Python
Manage the lifecycle of machine learning models using MLOps with practical examples
E-Book
05/2024
2nd Edition
Packt Publishing Limited
from
€35.99
Available for download
Persons
Andrew P. McMahon has spent years building high-impact ML products across a variety of industries. He is currently Head of MLOps for NatWest Group in the UK and has a PhD in theoretical condensed matter physics from Imperial College London. He is an active blogger, speaker, podcast guest, and leading voice in the MLOps community. He is co-host of the AI Right podcast and was named 'Rising Star of the Year' at the 2022 British Data Awards and 'Data Scientist of the Year' by the Data Science Foundation in 2019.
Content
Table of Contents
Introduction to ML Engineering
The Machine Learning Development Process
From Model to Model Factory
Packaging Up
Deployment Patterns and Tools
Scaling Up
Deep Learning, Generative AI, and LLMOps
Building an Example ML Microservice
Building an Extract, Transform, Machine Learning Use Case
Introduction to ML Engineering
The Machine Learning Development Process
From Model to Model Factory
Packaging Up
Deployment Patterns and Tools
Scaling Up
Deep Learning, Generative AI, and LLMOps
Building an Example ML Microservice
Building an Extract, Transform, Machine Learning Use Case