8000 DOC Removed a duplicate occurrence of a word in 'sklearn.neighbors.KN… · scikit-learn/scikit-learn@9c89f2f · GitHub
[go: up one dir, main page]

Skip to content

Commit 9c89f2f

Browse files
bucketclanamueller
authored andcommitted
DOC Removed a duplicate occurrence of a word in 'sklearn.neighbors.KNeighborsRegressor' docs (#9862)
* Removed a duplicate occurrence of the word 'but' from the 'Warning' section.
1 parent a11294a commit 9c89f2f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sklearn/neighbors/regression.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ class KNeighborsRegressor(NeighborsBase, KNeighborsMixin,
109109
110110
Regarding the Nearest Neighbors algorithms, if it is found that two
111111
neighbors, neighbor `k+1` and `k`, have identical distances but
112-
but different labels, the results will depend on the ordering of the
112+
different labels, the results will depend on the ordering of the
113113
training data.
114114
115115
https://en.wikipedia.org/wiki/K-nearest_neighbor_algorithm

0 commit comments

Comments
 (0)
0