menu
techminis

A naukri.com initiative

google-web-stories
Home

>

ML News

>

Understand...
source image

Medium

1M

read

186

img
dot

Image Credit: Medium

Understanding Generalization, Underfitting, and Overfitting in k-Nearest Neighbors (kNN)

  • Generalization is the model’s ability to apply what it has learned during training to new data.
  • Underfitting occurs when the model is too simplistic to capture the underlying patterns in the data.
  • Overfitting happens when the model learns not only the underlying patterns but also the noise in the training data.
  • The key to good generalization in kNN is finding the optimal value of k that balances bias and variance.

Read Full Article

like

11 Likes

For uninterrupted reading, download the app