View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from
K Nearest Neighbor

5.0 | 1 rating Rate this file 17 Downloads (last 30 days) File Size: 2.59 KB File ID: #38004 Version: 1.1

K Nearest Neighbor


Wei LI (view profile)


04 Sep 2012 (Updated )

KNN with configurable label prior, chuncking calculation for large data, and estimation of posterior

| Watch this File

File Information

K nearest neighbor with new features:
1. Configurable Label Weight Prior
2. Calculate distance chunck by chunck (Parallel in the future)
3. Rough estimate of posterior label probability
4. Configurable voting matrix
5. Fully vectorized

Currently a not-so-stable version, if you have any problems, please report here.



Computing Pairwise Distances And Metrics inspired this file.

MATLAB release MATLAB 7.14 (R2012a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (2)
28 Jan 2014 putria

putria (view profile)

how to use it's function...?

09 Nov 2012 mozhde

mozhde (view profile)


Comment only
05 Sep 2012 1.1

Update due to a lag in matlab central submission procedure.

Contact us