CS3001 Section 2 - Classification

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/6

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 2:23 AM on 5/15/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

7 Terms

1
New cards

Step in the K-Nearest Neighbour algorithm

1. Calculate Euclidean distance from the NEW point to EVERY training point.

2. Sort all training points by distance. Select the K CLOSEST ones.

3. Majority vote among those K neighbours — that class is the prediction.

2
New cards

What is a memory tip for choosing K in K-Nearest Neighbour?

Use an odd K to avoid ties, such as K=3 or K=5.

3
New cards

What is the process for classifying new data using Decision Trees?

Start at the root node, check the condition, and follow the yes/no branches until reaching a leaf node.

4
New cards

Advantages of Decision Trees

Provide human-readable rules that are easy to interpret.

No need to scale or normalise features

5
New cards

What is a disadvantage of Decision Trees?

Prone to overfitting without pruning

Only creates axis-parallel (orthogonal) splits

6
New cards

Disadvantages for K-Nearest Neighbour

Slow at prediction — compares to ALL training points

Very sensitive to choice of K and distance metric

Must store all training data in memory

7
New cards

Advantage of K-Nearest Neighbours

No assumptions about data distribution

Easy to understand and interpret

No model training required