[MRG + 1] FIX for LassoLarsCV on with readonly folds#4684
[MRG + 1] FIX for LassoLarsCV on with readonly folds#4684amueller merged 1 commit intoscikit-learn:masterfrom
Conversation
|
do all four arrays need to be writable? |
|
The answer is yes. LGTM. |
There was a problem hiding this comment.
you could probably do a more light-weight test by using stringIO and np.memmap? I don't like IO in tests.... but seems good enough.
There was a problem hiding this comment.
mmap is a system call, you cannot do it on a Python StringIO instance.
|
It might be interesting to add a flag to joblib to force it to memmap in parallel for debugging and testing purposes. Maybe even to memmap with n_jobs=1? |
Automatic memmaping is done internally by the |
|
@agramfort I would appreciate a second review on this. I met today a real user that was impacted by this issue. |
|
LGTM does it fix the pb of this user? |
|
it should. |
[MRG + 1] FIX for LassoLarsCV on with readonly folds
FIX #4597