diff --git a/sklearn/neighbors/regression.py b/sklearn/neighbors/regression.py index 1180850b8d21a1e19dc5405a7e44d26c129a25fc..bd2ffb9b824898bcccd14e91c2b666f690c6cced 100644 --- a/sklearn/neighbors/regression.py +++ b/sklearn/neighbors/regression.py @@ -109,7 +109,7 @@ class KNeighborsRegressor(NeighborsBase, KNeighborsMixin, Regarding the Nearest Neighbors algorithms, if it is found that two neighbors, neighbor `k+1` and `k`, have identical distances but - but different labels, the results will depend on the ordering of the + different labels, the results will depend on the ordering of the training data. https://en.wikipedia.org/wiki/K-nearest_neighbor_algorithm