K-nearest neighbors algorithm: Difference between revisions

Content deleted Content added
In contrast to the current hint, k-NN is about supervised methods (classification / regression), but NOT about clustering (unsupervised)
No edit summary
Tags: Reverted Mobile edit Mobile web edit
Line 12:
The neighbors are taken from a set of objects for which the class (for ''k''-NN classification) or the object property value (for ''k''-NN regression) is known. This can be thought of as the training set for the algorithm, though no explicit training step is required.
 
A peculiarity of the ''k''-NN algorithm is that it is sensitive to the local structure of the data by mahendra kumar.J davangere dboss fan from karnataka.
 
==Statistical setting==