Skip to Content
Automating Data Quality Monitoring
book

Automating Data Quality Monitoring

by Jeremy Stanley, Paige Schwartz
January 2024
Intermediate to advanced
220 pages
6h 3m
English
O'Reilly Media, Inc.
Content preview from Automating Data Quality Monitoring

Chapter 5. Building a Model That Works on Real-World Data

In Chapter 4, we shared an algorithm for data quality monitoring with unsupervised machine learning. It’s one thing to read about these steps, and quite another to build a model that performs well in practice on any arbitrary real-world dataset. If you don’t have strategies to account for nuances like seasonality, time-based features, and correlations across columns, your model will over- or under-alert, often dramatically.

Beyond knowing the pitfalls to look out for, you’ll need to continuously evaluate your model against benchmark data to figure out where and how to improve. We’ll share methods for effective model testing, including thoughts on developing a library to introduce chaos into perfectly well-behaved data (cue evil laugh).

Data Challenges and Mitigations

To make your model truly valuable rather than noisy, you’ll need strategies to overcome the challenges presented by data in the wild.

Seasonality

Humans are very seasonal creatures. We change our behavior patterns by hour of the day and day of the week. We pay bills on roughly the same day every month and go on holiday around the same time every year. Most data, in some way or another, is a reflection of human behavior or is affected by human behavior, and so these seasonality patterns appear in almost all data we care about.

As you’ll recall from Chapter 4, our approach relies on comparing data from today to data from yesterday. But because of seasonality, ...

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

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Driving Data Quality with Data Contracts

Driving Data Quality with Data Contracts

Andrew Jones
Data Quality Fundamentals

Data Quality Fundamentals

Barr Moses, Lior Gavish, Molly Vorwerck
Data Governance: The Definitive Guide

Data Governance: The Definitive Guide

Evren Eryurek, Uri Gilad, Valliappa Lakshmanan, Anita Kibunguchy-Grant, Jessi Ashdown
Architecting Data and Machine Learning Platforms

Architecting Data and Machine Learning Platforms

Marco Tranquillin, Valliappa Lakshmanan, Firat Tekiner

Publisher Resources

ISBN: 9781098145927Errata Page