diff --git a/sklearn/neighbors/_base.py b/sklearn/neighbors/_base.py index 3a1fdadfb94b7..258440d20c836 100644 --- a/sklearn/neighbors/_base.py +++ b/sklearn/neighbors/_base.py @@ -558,7 +558,7 @@ def kneighbors(self, X=None, n_neighbors=None, return_distance=True): Examples -------- - In the following example, we construct a NeighborsClassifier + In the following example, we construct a NearestNeighbors class from an array representing our data set and ask who's the closest point to [1,1,1]