top of page

K-nearest Neighbors Classification with Multiple Labels

Conclusions

  • K-Nearest Neighbors classification measures the distance from a new record to the existing records, retrieves the k nearest neighbors, and predicts a label based on which label is most common within this group.

  • The k value is a parameter when generating the model and should be tested and adjusted.

  • A k value that is too small may increase the classifier's sensitivity to noise and a k value that is too large may lead to datapoints from other classes being included and impacting the accuracy.

bottom of page