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

Feature selection

Practice Flashcards

Flip to reveal answers
Card 1 of 54.2.2
4.2.2
Question

What is a feature?

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 — Feature selection

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

Card 1definition

Question

What is a feature?

Answer

One **input column** the model is given. Feature selection decides which ones it sees.

Card 2definition

Question

What is data leakage?

Answer

A feature containing the answer, or one **not available at prediction time**. Test accuracy looks superb and then collapses in production.

Card 3concept

Question

Why is an identifier a bad feature?

Answer

It is unique per row, so the model **memorises** rather than learns — perfect on training data, useless on anything new.

Card 4definition

Question

Name four kinds of feature worth dropping.

Answer

**Irrelevant** (no relationship), **redundant** (duplicates another), **constant** (no information), **identifier** (memorises) — and above all **leaking**.

Card 5concept

Question

Does dropping a sensitive attribute stop discrimination?

Answer

No. Other features **proxy** for it — postcode, school, employment history — and the model finds those instead.

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