Weighted K-Nearest Neighbors (WKNN)

Weighted K-Nearest Neighbors (WKNN) classifier

You are now following this Submission

Weighted K-Nearest Neighbors (WKNN) classifier.

Every neighbor sample has a weight based on its distance to the test sample. Nearer neighbors have bigger weights in the voting.

Cite As

Majid Farzaneh (2026). Weighted K-Nearest Neighbors (WKNN) (https://au.mathworks.com/matlabcentral/fileexchange/74111-weighted-k-nearest-neighbors-wknn), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0