STATISTICAL METHODS FOR
SELECTING K IN K-NEAREST
NEIGHBORS (KNN)
GROUP1
, INTRODUCTION
• What is K-Nearest Neighbors (KNN)?
• A supervised machine learning algorithm used for
classification and regression.
• It classifies a data point based on the majority class of its
nearest neighbors.
• Why is selecting the right K important?
• Too small K → Model is sensitive to noise (overfitting).
• Too large K → Model becomes too general (underfitting).
SELECTING K IN K-NEAREST
NEIGHBORS (KNN)
GROUP1
, INTRODUCTION
• What is K-Nearest Neighbors (KNN)?
• A supervised machine learning algorithm used for
classification and regression.
• It classifies a data point based on the majority class of its
nearest neighbors.
• Why is selecting the right K important?
• Too small K → Model is sensitive to noise (overfitting).
• Too large K → Model becomes too general (underfitting).