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 についてさらに検索
タグ
謝辞
ヒントを得たファイル: Computing Pairwise Distances and Metrics
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!