Back to Topic 4.2 — Data preprocessing
4.2.1Computer Science HL5 flashcards

Data cleaning

Practice Flashcards

Flip to reveal answers
Card 1 of 54.2.1
4.2.1
Question

What is data cleaning?

Click to reveal answer

Track your progress — Sign up free to save your progress and get smart review reminders based on spaced repetition.

All 5 Flashcards — Data cleaning

Sign up free to track progress and get spaced-repetition review schedules.

Card 1definition

Question

What is data cleaning?

Answer

Finding and fixing what is **missing, duplicated, inconsistent or wrong** before training — because a model learns the faults along with everything else.

Card 2example

Question

Why is a recorded 0 often a missing value?

Answer

Many systems encode "not recorded" as 0. A blood pressure of 0 is impossible, so the model learns from a value that never occurred.

Card 3concept

Question

Why can deleting rows with missing values bias a dataset?

Answer

Absence is **rarely random**. If a value is missing more often for one group, deleting those rows removes that group disproportionately.

Card 4concept

Question

What does a duplicate record do to training?

Answer

It counts **twice**, so that record's characteristics carry double weight in what the model learns.

Card 5concept

Question

Should outliers always be removed?

Answer

No. An **error** should be; a **genuine extreme** should not — in fraud detection the outliers are exactly the target.

Track your progress with spaced repetition

Sign up free — Aimnova tells you exactly which cards to review and when, so you remember everything before your IB exam.

Start Free