Tutorial for classification by k-Nearest Neighbour
Version 1.0.0 (3.97 KB) by
Selva
Basic Tutorial for classifying 1D matrix using k-Nearest Neighbour for 3 class problems
1D matrix classification using k-Nearest Neighbour based machine learning for 3 class problems. It also consist of a matrix-based example for input sample of size 12 and 3 features
Cite As
Selva (2026). Tutorial for classification by k-Nearest Neighbour (https://www.mathworks.com/matlabcentral/fileexchange/72568-tutorial-for-classification-by-k-nearest-neighbour), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2019a
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
- AI and Statistics > Statistics and Machine Learning Toolbox > Cluster Analysis and Anomaly Detection > Nearest Neighbors >
Find more on Nearest Neighbors in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
kNN clas
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0 |
