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.
@kuantkid
引用格式
Wei LI (2024). K Nearest Neighbor (https://www.mathworks.com/matlabcentral/fileexchange/38004-k-nearest-neighbor), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
创建方式
R2012a
兼容任何版本
平台兼容性
Windows macOS Linux类别
在 Help Center 和 MATLAB Answers 中查找有关 Statistics and Machine Learning Toolbox 的更多信息
标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!