Academy / Data & Machine Learning
Path 2 · Course 2 · For analysts and aspiring practitionersData Quality & Preparation for AI
Profile, clean, label and document data so AI systems learn the right lessons: data quality dimensions, profiling, cleaning decisions, labelling and agreement, representativeness and leakage, and data governance — for tables and for the documents behind AI assistants, with pandas and scikit-learn code you can run and edit on the page.
0 of 6 modules complete
Modules
- 140 min
Why data quality decides AI quality
Garbage in, garbage out; six dimensions of data quality; why AI raises the stakes; the preparation workflow; the practice dataset; what bad data does to simple answers; and why documents are data too.
- 245 min
Profiling and exploring data
Structural profiling, categorical value counts, numerical summaries and outliers, validity checks, visual profiling, data quality reports, cross-field checks, and profiling documents.
- 350 min
Cleaning data
Logging decisions, duplicates, standardising categories, fixing types and invalid values, missing value strategies, outliers, before-and-after checks, and cleaning text for AI.
- 450 min
Labelling and annotation
Why labels matter, labelling guidelines, Cohen's kappa in code, active learning, weak supervision and LLM-assisted labelling, finding label errors, labellers' welfare, checking a language model's labels, and synthetic data.
- 550 min
Representativeness, splits and leakage
Comparing data with the population served, proxies and historical bias, stratified, time-based and entity splits, data leakage, leakage-safe preprocessing pipelines, and leakage and time splits demonstrated in code.
- 645 min
Documenting and governing data
Datasheets, lineage and versioning, UK GDPR principles for AI data, pseudonymisation in code, the EU AI Act's Article 10, continuous data quality checks, drift between batches, and governing the documents behind AI assistants.
Frequently asked questions
Why does data quality matter for AI?
AI learns from its data, so errors, gaps and bias in the data become errors, gaps and bias in the model — garbage in, garbage out. Quality checks are usually the best investment in model quality. Module 1: Why data quality decides AI quality →
What is data leakage in machine learning?
Data leakage is when information that wouldn't be available at prediction time — or from the test set — slips into training. It makes models look far better in testing than they perform in real use. Module 5: Representativeness, splits and leakage →
How do you handle missing values?
First understand why data is missing. Then drop, fill (impute) or flag it depending on the cause and the impact, and log each decision so it can be reviewed. Module 3: Cleaning data →
What is Cohen's kappa?
Cohen's kappa measures how much two labellers agree beyond what you'd expect by chance. Low agreement usually means the labelling guidelines need work. Module 4: Labelling and annotation →
What does the EU AI Act say about training data?
Article 10 requires data governance for high-risk AI systems, including training, validation and testing data that is relevant, sufficiently representative and, as far as possible, free of errors, with attention to possible bias. Module 6: Documenting and governing data →