forked from scikit-learn/scikit-learn
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[MRG+1] add shuffle paramater to train_test_split (scikit-learn#8845)
* add shuffle paramater to train_test_split * fix syntax error * fix variable name * fix formatting in doctest output * fix doctest output * refactor shuffle paramater into ShuffleSplit and StratifiedShuffleSplit * include shuffle option in tests * rollback refactor * revert to simpler version of unshuffled split * fix flake8 errors * revert changes to ShuffleSplit * revert BaseShuffleSplit * more reversions * fix indentation * remove shuffle parameter from CVclass * add text to NotImplementedError * change indexing to use numpy.arange rather than range * specify precondition for stratify to be None in docstring
- Loading branch information
themrmax
authored and
Jeremiah Johnson
committed
Dec 18, 2017
1 parent
93a3d25
commit 05fadfc
Showing
2 changed files
with
40 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters