8000 Updated doc for data attr of BallTree and KDTree (#11764) · scikit-learn/scikit-learn@3a3adab · GitHub
[go: up one dir, main page]

Skip to content

Commit 3a3adab

Browse files
NicolasHugamueller
authored andcommitted
Updated doc for data attr of BallTree and KDTree (#11764)
It's a memory view, not a numpy array.
1 parent c11206d commit 3a3adab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sklearn/neighbors/binary_tree.pxi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ Additional keywords are passed to the distance metric class.
292292
293293
Attributes
294294
----------
295-
data : np.ndarray
295+
data : memory view
296296
The training data
297297
298298
Examples

0 commit comments

Comments
 (0)
0