Data Quality Has Six Dimensions, and a Model Learns Every Flaw in Them
A machine learning model has no knowledge beyond its training data, so it learns that data's gaps, duplicates and errors as faithfully as its patterns. Data is low quality when it is wrong, biased or not aligned with the problem, and it can be checked along six dimensions: completeness, uniqueness, timeliness, validity, accuracy and consistency. Checking them before training is cheaper than explaining bad predictions after.
The Six Dimensions
| Dimension | Question | Flaw and its effect |
|---|---|---|
| Completeness | is every required value present? | transactions without dates: the model can't learn seasonal patterns |
| Uniqueness | is each record there once? | thousands of near-identical labrador photos: a breed classifier fails on other breeds |
| Timeliness | does it reflect the current state? | months-old stock prices used to predict today's market |
| Validity | does it follow the agreed format, type and range? | 08-12-2019 where the standard is YYYY/mm/dd; an age of 230 |
| Accuracy | is the content true? | a cat photo labelled "dog" |
| Consistency | do sources agree with each other? | "John Smith" in one system, "J. Smith" in another |
Validity is about form (format, type, range); accuracy is about truth. A perfectly formatted wrong birth date is valid and inaccurate.
Quality Is a Pipeline Step, Not a One-Off Clean-Up
- Validate formats and ranges at ingestion, where bad records can be rejected or quarantined.
- Deduplicate and reconcile identities across sources before joining them.
- Track the age of each dataset; timeliness decays even when nothing else changes, which is how Data Drift Degrades a Deployed Model Without Any Change to Its Code begins.
References
- Innovating with Google Cloud Artificial Intelligence - AI and ML Fundamentals and Solutions - the course's six dimensions and examples.
- Artificial Intelligence Fundamentals MOC - hub for AI and ML notes.
- Machine Learning Learns Its Rules from Data, Rule-Based AI Follows Rules People Wrote - why gaps in data become blind spots.
- Databases Serve Transactions, Warehouses Serve Analysis, Lakes Keep Raw Data - where training data is stored and governed.
Review cards
Flashcard In data quality, what is the difference between validity and accuracy?
Validity is about form (format, type, range); accuracy is about truth. A well-formatted wrong birth date is valid but inaccurate.
Flashcard How do duplicate records hurt a model?
They skew what it learns toward the duplicated cases: a breed classifier trained on thousands of near-identical labrador photos fails on other breeds.
Quiz Which of the following is an example of a validity issue in data quality?
- A cat photo labelled 'dog'
-
08-12-2019where the standard isYYYY/mm/dd - Months-old stock prices used to predict today's market
- A breed classifier failing on other breeds due to near-identical labrador photos
The format of the date is incorrect, violating the agreed format.