Part V. Case Studies
In Chapter 1, I shared how machine learning projects that once took my teams months to complete can now be finished in days or even hours through automation. In Chapter 2, we traced AutoML’s evolution from academic prototypes to enterprise-ready platforms, watching as tools like AutoGluon and Vertex AI transformed what was possible. Chapter 3 revealed the sophisticated pipeline architecture underneath—the automated feature engineering, hyperparameter optimization, and ensemble methods that make this acceleration possible.
But there’s a gap between understanding how AutoML works and deploying it successfully in production—a gap I learned about the hard way.
Three years ago, I was called in to rescue a fraud detection project at a major financial institution. The data science team had built a beautiful model in Jupyter notebooks—98.7% accuracy, elegant ensemble architecture, impressive cross-validation scores. Everyone was excited. Then they deployed it to production.
Within 48 hours, the system had flagged 47,000 legitimate transactions as fraud. Customer service was overwhelmed. The fraud operations team was drowning in false positives. And the model’s actual fraud detection rate? A dismal 73%, far below the rule-based system it was supposed to replace. The project was days away from being shut down.
What Went Wrong?
The model had been trained on randomly shuffled data, not time-ordered data, creating data leakage that inflated offline performance. Features ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access