k-Nearest Neighbors (kNN) Classifier

Multi-class Classification with the kNN

https://www.youtube.com/watch?v=TI3XxHUaujw

Download
Download

You are now following this Submission

Cite As

David Ferreira (2019). k-Nearest Neighbors (kNN) (https://www.mathworks.com/matlabcentral/fileexchange/67018-k-nearest-neighbors-knn), MathWorks. Retrieved January 23, 2019.

Categories

Find more on Statistics and Machine Learning Toolbox in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
2.2.1

See release notes for this release on GitHub: https://github.com/ferreirad08/kNNeighborsClassifier/releases/tag/2.2.1

Download
2.2.0

See release notes for this release on GitHub: https://github.com/ferreirad08/k-Nearest-Neighbors-kNN-Algorithm/releases/tag/2.2.0

Download
2.1.9

See release notes for this release on GitHub: https://github.com/ferreirad08/k-Nearest-Neighbors-kNN-Algorithm/releases/tag/2.1.9

Download
2.0.5

New tools have been added, bringing a more complete algorithm.

Download
2.0.4

Simplification in k nearest instances and k nearest labels

Download
2.0.3

Basic update

Download
2.0.2

Update in maximum frequency

Download
2.0.1

Simplification in frequency verification

Download
2.0.0

Check the frequencies using 'histcounts'

Download
1.62.0

Title correction

Download
1.61.0

Correction of the k nearest labels.

Download
1.60.0

Returns the k nearest labels.

Download
1.54.0

Basic update

Download
1.53.0

Updating the Euclidean distance between two points

Download
1.52.0

Description correction

Download
1.51.0

Description correction

Download
1.5.0

Elements sorted by "sort" function and reduced processing time by approximately 1/3.

Download
1.1.0

Update of the calculation of the Euclidean distance between two points

Download
1.0.0

Description correction

Download
To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.