K Nearest Neighbor
Versione 1.1.0.0 (2,59 KB) da
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
Cita come
Wei LI (2024). K Nearest Neighbor (https://www.mathworks.com/matlabcentral/fileexchange/38004-k-nearest-neighbor), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
Creato con
R2012a
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS LinuxCategorie
Scopri di più su Statistics and Machine Learning Toolbox in Help Center e MATLAB Answers
Tag
Riconoscimenti
Ispirato da: Computing Pairwise Distances and Metrics
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.