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!