K-nearest neighbors algorithm: Difference between revisions

Content deleted Content added
No edit summary
Tags: Reverted Mobile edit Mobile web edit
m Reverted edits by 2409:40F2:44:355:8000:0:0:0 (talk) (HG) (3.4.12)
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==