From 6c12514f2511d15c9a4e63630bf238aef9d88934 Mon Sep 17 00:00:00 2001 From: Kyle Jackson <k.jackson0794@gmail.com> Date: Tue, 6 Sep 2016 12:17:13 -0400 Subject: [PATCH] [MRG] DOC removed redundant word from KNN docs (#7345) --- sklearn/neighbors/classification.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sklearn/neighbors/classification.py b/sklearn/neighbors/classification.py index ec63d5e5d7..66da7ff94f 100644 --- a/sklearn/neighbors/classification.py +++ b/sklearn/neighbors/classification.py @@ -108,7 +108,7 @@ class KNeighborsClassifier(NeighborsBase, KNeighborsMixin, .. warning:: Regarding the Nearest Neighbors algorithms, if it is found that two - neighbors, neighbor `k+1` and `k`, have identical distances but + neighbors, neighbor `k+1` and `k`, have identical distances but different labels, the results will depend on the ordering of the training data. -- GitLab