Explore
Module 1 · Part 1 of 12 · Free preview

Part 1

Chapter 1: The Production Chasm--– In 2019, a multinational bank spent fourteen months and eleven million dollars building a machine learning system to detect money laundering. The team included thirty data scientists, eight software engineers, and three PhDs in statistics. They trained models on petabytes of transaction data. They achieved 97% recall on their validation set. They presented their results to the board. The CEO personally congratulated them.The system never processed a single live transaction.Not because it was inaccurate. Not because it was slow. Because the data scientists had built the model in a Jupyter notebook that assumed the data arrived in a specific CSV format with specific column names and no missing values.

The production data stream, which came from forty-three different legacy banking systems across seventeen countries, never matched those assumptions. The model crashed on the first real transaction. The engineering team, which had been brought in only at the final month, looked at the notebook and said: we cannot deploy this. The project was written off as a "research experiment."The bank wrote off eleven million dollars. The data scientists updated their resumes. The money laundering continued.This is not an isolated failure. It is the norm. Across the technology industry, leading analysts estimate that over ninety percent of trained machine learning models never reach production.

Ninety percent. For every model that actually serves a customer request, nine others die in what engineers call the "valley of death" between notebook and deployment.The problem is not bad algorithms. The problem is not insufficient data. The problem is not underpowered hardware. The problem is a chasm—a deep, wide, invisible chasm—between how data scientists work and how production systems operate. Data scientists explore. Production requires predictability. Data scientists iterate. Production requires stability. Data scientists optimize for accuracy. Production requires reliability, latency, cost efficiency, and maintainability. These are not the same thing.This book exists to build a bridge across that chasm.

Keep reading — free

Sign in with your SamEnrico account to read the whole of lesson 1.

Sign in