How does the k-nearest neighbors classifier computes the distance of the attribute which are not numeric?
Answers
Answered by
0
In pattern recognition, the k-nearest neighbors algorithm (k-NN) is a non-parametric method used for classification and regression. In both cases, the input consists of the k closest training examples in the feature space. ... If k = 1, then the object is simply assigned to the class of that single nearest neighbor.
Similar questions
Physics,
7 months ago
Economy,
7 months ago
Computer Science,
1 year ago
Math,
1 year ago
English,
1 year ago