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