Weighted K-Nearest Neighbors (WKNN)

version 1.0.0 (1.66 MB) by Majid Farzaneh
Weighted K-Nearest Neighbors (WKNN) classifier

233 Downloads

Updated Sun, 02 Feb 2020 19:15:11 +0000

View License

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 (2022). Weighted K-Nearest Neighbors (WKNN) (https://www.mathworks.com/matlabcentral/fileexchange/74111-weighted-k-nearest-neighbors-wknn), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2019b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!