Concept
Specifying the optional weighting function on the neighbor points for a k-Nearest Neighbors algorithm
We may want to give some neighbors more influence on the outcome. For example, we may decide that neighbors that are closer to the new instance that we're trying to classify, should have more influence, or more votes on the final label.
0
1
Updated 2020-10-19
Tags
Data Science
Related
Specifying a distance metric for k-Nearest Neighbors algorithm
Specifying K = the number of the nearest neighbors for a k-Nearest Neighbors algorithm
Specifying the optional weighting function on the neighbor points for a k-Nearest Neighbors algorithm
Specifying a method for aggregating the classes of neighbor points for a k-Nearest Neighbors algorithm