Share E-Book

Building Machine Learning Pipelines (Hannes Hapke)(Z-Library)

Author Hannes Hapke

AI
Language English

Companies are spending billions on machine learning projects, but it's money wasted if the models can't be deployed effectively. In this practical guide, Hannes Hapke and Catherine Nelson walk you through the steps of automating a machine learning pipeline using the TensorFlow ecosystem. You'll learn the techniques and tools that will cut deployment time from days to minutes, so that you can focus on developing new models rather than maintaining legacy systems. Data scientists, machine learning engineers, and DevOps engineers will discover how to go beyond model development to successfully productize their data science projects, while managers will better understand the role they play in helping to accelerate these projects. Understand the steps to build a machine learning pipeline Build your pipeline using components from TensorFlow Extended Orchestrate your machine learning pipeline with Apache Beam, Apache Airflow, and Kubeflow...

Format EPUB
Size 2.1 MB
210
Views
0
Downloads
0.00
Total Donations

AI Guide

AI Reading Assistant

Whole-book reading guide from stratified index samples; jump to passages in the text

Full assistant
AI guide
# Building Machine Learning Pipelines — Reading Guide ## 【One-Line Pitch】 A practical, hands-on guide to automating the entire machine learning model life cycle using TensorFlow Extended (TFX) and orchestration tools like Apache Beam, Airflow, and Kubeflow — essential reading for data scientists and ML engineers who want to move from one-off model training to production-grade, repeatable pipelines. ## 【Book Arc】 - **Opening (~0%–9%)**: The book opens with endorsements and a foreword that frames ML pipelines as the "assembly line" for modern AI — drawing a parallel to Henry Ford's Model T production. It establishes the core problem: most ML projects fail at deployment, not training. - **Early (~16%–28%)**: The preface and introduction lay out the book's mission: standardize ML workflows by borrowing principles from software engineering. It defines the key pipeline steps (data versioning, validation, preprocessing, training, analysis, deployment, scaling, feedback loops) and explains why TensorFlow Extended is the chosen toolchain. - **Early–Middle (~34%–38%)**: A detailed chapter-by-chapter roadmap is provided, covering everything from data ingestion and validation to model deployment with TensorFlow Serving, advanced deployment strategies, custom TFX components, and pipeline orchestration with Beam, Airflow, and Kubeflow. - **Middle (~38%–47%)**: The book transitions into advanced topics: feedback loops for continuous model improvement, privacy-preserving ML (differential privacy, federated learning, encrypted ML), and a forward-looking chapter on the future of ML pipelines. Appendices cover Docker/Kubernetes infrastructure and Kubeflow operations. - **Middle (~53%)**: The core argument is reinforced — the key benefit of pipelines is automation of the entire model life cycle, triggered automatically when new training data arrives, including validation, preprocessing, training, analysis, and deployment. ## 【Key Takeaways】 - **ML pipelines are the missing standardization layer** (Early): Just as software engineering standardized code deployment, ML needs automated workflows to move from "garage" experiments to reliable production systems. The book's core premise is that automation saves time, reduces errors, and enables continuous improvement. - **Treat data as code** (Early): Training data must be versioned, validated, and monitored for drift — it's as critical as the model code itself. The book emphasizes that data evolves daily, includes private information, and requires labeling, making data management a first-class pipeline concern. - **TFX is the production-ready TensorFlow toolkit** (Early): TensorFlow Extended provides tightly integrated, open-source components for every pipeline stage — from ingestion to serving. The authors chose TFX because of its ecosystem maturity, active community, and production adoption. - **Deployment is a solved problem with TensorFlow Serving** (Middle): The book contrasts naive Flask-based model serving with TensorFlow Serving, highlighting batching, configuration, and client setup. Advanced chapters cover optimization and Kubernetes-based deployment. - **Orchestration ties everything together** (Middle): Apache Beam, Airflow, and Kubeflow Pipelines are presented as the connective tissue that turns individual components into automated, end-to-end workflows. The book walks through complete pipeline examples on each platform. - **Feedback loops make pipelines self-improving** (Middle): Capturing user feedback and model performance metrics and feeding them back into the pipeline is essential for long-term model quality. This turns a one-way pipeline into a continuous improvement cycle. - **Privacy is a pipeline concern, not an afterthought** (Middle): Differential privacy, federated learning, and encrypted ML are introduced as practical methods for building privacy-preserving ML systems — a rapidly growing field with direct pipeline implications. ## 【Reading Tips】 - **Skim the endorsements and foreword** (0–9%): They provide context and credibility but no technical content. Jump straight to the preface for the book's mission and audience definition. - **Deep-read the chapter roadmap** (34–38%): This section is a goldmine for planning your reading path. Use it to decide which chapters are most relevant to your role — data scientists may focus on validation/training, while DevOps engineers should prioritize deployment and orchestration chapters. - **Treat the book as a tutorial, not a reference**: The authors explicitly recommend hands-on learning. Have a laptop ready and follow along with the code examples — the book is designed as a step-by-step project walkthrough. - **Pay special attention to the orchestration chapters** (Chapters 11–12): These are the culmination of everything before them. If you're short on time, read the component chapters (2–7) for concepts, then focus your energy on the pipeline integration chapters. - **Use the appendices for infrastructure gaps**: If you're unfamiliar with Docker or Kubernetes, Appendix A provides a crash course. Don't skip it if you plan to follow the Kubeflow examples. ## 【Coverage Limits】 This guide is based on the book's front matter, preface, chapter overviews, and early conceptual content. Detailed technical content from individual chapters (e.g., specific TFX component APIs, code walkthroughs, advanced serving configurations) is not covered in this sample. ##

Passage locations

Excerpt 1
ta science patterns into production as repeatable workflows.” Josh Patterson, CEO, Patterson Consulting, Coauthor of Deep Learning: A Practitioner’s Approach...
View in text
Excerpt 2
tep through a concrete example project from start to finish. Thanks to the many code examples and the clear, concise explanations, you should have your own M...
View in text
Excerpt 3
his book are relevant to other tools and frameworks as well. Overview of the Chapters In each chapter, we will introduce specific steps for building machine...
View in text
Excerpt 4
and in-depth review of the machine learning privacy chapter. We have had fantastic support from many wonderful people at Google. Thank you for helping us fin...
View in text

Recommended for You

Loading recommended books...
Failed to load, please try again later

Tip the Site

Scan the WeChat Pay or Alipay code to tip. No login required.

WeChat Pay
Alipay
Back to List