Skip to content

Commit bc33901

Browse files
committed
Added comment for PR discussion
1 parent 6cc3dcc commit bc33901

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sklearn/utils/validation.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ def check_array(array, accept_sparse=None, dtype="numeric", order=None,
363363
else:
364364
if ensure_2d:
365365
array = np.atleast_2d(array)
366-
366+
# XXX: this transform memmap into array, preventing us from directly testing estimators with read-only input
367367
array = np.array(array, dtype=dtype, order=order, copy=copy)
368368
# make sure we actually converted to numeric:
369369
if dtype_numeric and array.dtype.kind == "O":

0 commit comments

Comments
 (0)