K Nearest Neighbor
Version 1.1.0.0 (2,59 ko) par
Wei LI
KNN with configurable label prior, chuncking calculation for large data, and estimation of posterior
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
Citation pour cette source
Wei LI (2026). K Nearest Neighbor (https://fr.mathworks.com/matlabcentral/fileexchange/38004-k-nearest-neighbor), MATLAB Central File Exchange. Extrait(e) le .
Compatibilité avec les versions de MATLAB
Créé avec
R2012a
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS LinuxCatégories
En savoir plus sur Statistics and Machine Learning Toolbox dans Help Center et MATLAB Answers
Tags
Remerciements
Inspiré par : Computing Pairwise Distances and Metrics
Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
| Version | Publié le | Notes de version | |
|---|---|---|---|
| 1.1.0.0 | Update due to a lag in matlab central submission procedure. |
||
| 1.0.0.0 |
