Learn Before
Concept
"weights" Parameter for KNN Classifier
The weights parameter can be set to 'uniform' or to 'distance'. Setting weights='uniform' means that the k nearest neighbors of a point have equal influence on how that point gets classified. On the other hand, weights='distance' causes closer neighbors to have greater influence.
0
1
Updated 2020-10-15
Contributors are:
Who are from:
Tags
Data Science