SchoolWhool
Quizzes and saved progress, freeSign in freeSign in

ML 4.2Lesson outlineLesson 2 of 9 in Module 4

k-Nearest Neighbours

Classify a new point by a vote of its nearest neighbours, and see what K and the distance do to the boundary.

Video in production.

Lesson outline: k-Nearest Neighbours

In this lesson12 parts

  1. 01A diagnosis from similar cases
  2. 02Two standardized features
  3. 03The majority class
  4. 04The vote
  5. 05Nothing learned, two hyperparameters
  6. 06No loss to minimize
  7. 07Fitting stores the rows
  8. 08Predicting the hidden tumor
  9. 09Training accuracy
  10. 10What K and scale do
  11. 11Code
  12. 12Recap, your challenge, and what comes next

Builds on

This lesson stands on its own. These go deeper into what it uses.