K Nearest Neighbor
Versión 1.1.0.0 (2,59 KB) por
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
Citar como
Wei LI (2025). K Nearest Neighbor (https://www.mathworks.com/matlabcentral/fileexchange/38004-k-nearest-neighbor), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Se creó con
R2012a
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS LinuxCategorías
Más información sobre Statistics and Machine Learning Toolbox en Help Center y MATLAB Answers.
Etiquetas
Agradecimientos
Inspirado por: Computing Pairwise Distances and Metrics
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.