8000 Sync docstring and definition default argument in kneighbors (#7476) · scikit-learn/scikit-learn@859776a · GitHub
[go: up one dir, main page]

Skip to content

Commit 859776a

Browse files
hnykdaamueller
authored andcommitted
Sync docstring and definition default argument in kneighbors (#7476)
1 parent d50390f commit 859776a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sklearn/neighbors/approximate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line ch 692F ange
@@ -411,7 +411,7 @@ def kneighbors(self, X, n_neighbors=None, return_distance=True):
411411
Number of neighbors required. If not provided, this will
412412
return the number specified at the initialization.
413413
414-
return_distance : boolean, optional (default = False)
414+
return_distance : boolean, optional (default = True)
415415
Returns the distances of neighbors if set to True.
416416
417417
Returns

0 commit comments

Comments
 (0)
0