Chapter 12. Data Pipeline Automation with Apache Airflow
The most sophisticated AutoML models are only as effective as the data pipelines that feed them. I gained direct experience in this area during a healthcare analytics project, where our AutoML system consistently produced exceptional results in development, achieving 87% top-three accuracy in ICD code predictions across a subset of 150 common diagnostic codes. When we deployed to production, however, performance degraded to barely 72% within the first month. The culprit wasn’t the model at all. Our data pipeline, constructed with scheduled scripts and manual interventions, was delivering stale data, missing critical updates, and occasionally duplicating records. The AutoML system was doing exactly what it was designed to do—finding patterns in data—but the data itself was fundamentally unreliable.
Note
ICD-10 contains over 70,000 codes, making full-code prediction extremely challenging. Production systems typically focus on top-N accuracy for the most common codes relevant to their use case.
This experience crystallized a critical insight that shapes this chapter: AutoML democratizes model building, but it simultaneously raises the stakes for data pipeline reliability. When business analysts and domain experts can create production-grade models with minimal coding, the bottleneck shifts from model development to data infrastructure. Organizations that master AutoML without mastering data pipelines simply move their problems ...
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