Lab 07 · Quiz
K-Nearest Neighbours Quiz
Local learning
Instance-based
Lazy learning
KNN
Work in progress This quiz is still being reviewed: questions may change, and some parts may still contain mistakes.
Before you start
Quiz for Lab 07: K-Nearest Neighbours. It focuses on trade-offs, advantages, disadvantages and practical reasoning rather than implementation details. Answer every task, then press Check answers at the bottom: each answer is marked, the explanations appear, and you get a score per skill.
Assumptions unless stated otherwise
- KNN classification uses a majority vote; KNN regression averages the neighbours’ target values.
- Smaller distance means a point is considered more similar.
- The entire training dataset is kept for prediction.
How answers are scored
- Numbers: type the value; 135000, 135,000 and 135 000 all work.
- Rows: one choice per row; each correct row earns its share of the points.
- Select all that apply: scores only when the selection is exactly right.
- Your answers are saved in this browser only, so you can leave and come back. Nothing is sent anywhere.