Section: Machine Learning•ID #45

K-Nearest Neighbors Classifier

Step 1: TheoryTheory Article

KNN Classifier Algorithm

Study the core concepts and background material for this learning item.

Step 2: PracticeDeep-ML Challenge

Implement K-Nearest Neighbors

Solve the challenges and apply your knowledge interactively.

Medium20 min estimated study

Overview

Construct K-Nearest Neighbors predictions using distance sorting.

Learning Objectives

  • Formulate Euclidean distance vectors
  • Aggregated top-k voting labels

Prerequisites

Tracking Control

Completion Reward+200 XP
Study Checklist
Studied theory resource
Completed practice exercise