-
- Downloads
[MRG+1] FIX Make sure GridSearchCV and RandomizedSearchCV are pickle-able (#7594)
* FIX Subclass a new MaskedArray which allows pickling even when dype=object * TST unpickling too * FIX Use MaskedArray from utils.fixes rather than from numpy * FIX imports * Don't assign a variable * FIX np --> numpy * Use tostring instead of tobytes for old numpy * COSMIT pickle-able --> picklable * use #noqa comment to turn off flake8 * TST/ENH Check if the pickled est's predict matches with the original one's
Showing
- sklearn/model_selection/_search.py 5 additions, 2 deletionssklearn/model_selection/_search.py
- sklearn/model_selection/tests/test_search.py 6 additions, 2 deletionssklearn/model_selection/tests/test_search.py
- sklearn/utils/fixes.py 18 additions, 0 deletionssklearn/utils/fixes.py
- sklearn/utils/tests/test_fixes.py 19 additions, 3 deletionssklearn/utils/tests/test_fixes.py
Loading
Please register or sign in to comment