Lecture05

.pdf
School
University of Delaware **We aren't endorsed by this school
Course
MATH 266
Subject
Statistics
Date
Aug 31, 2023
Pages
17
Uploaded by DukeIce2388 on coursehero.com
Mathematical techniques in data science Lecture 5: Nearest neighbors (cont.)
Last lecture: Nearest neighbors Very simple idea: Make predictions based on labels of the nearest training examples Applicable to both classification and regression
K-nearest neighbor (K-NN) for classification Learning: Store all training examples Predict label of x : Find the nearest K training examples to x Assign the most frequent label to x (Source: kdnuggets.com)
Page1of 17
Uploaded by DukeIce2388 on coursehero.com