You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The latest version of sklearn's train_test_split automatically stratifies the data by class(es) and shuffles the data prior to the split. Thus, we don't need to use the long-form version with StratifiedShuffleSplit.
Let's replace all of the StratifiedShuffleSplit calls with train_test_split.
The text was updated successfully, but these errors were encountered:
The latest version of sklearn's train_test_split automatically stratifies the data by class(es) and shuffles the data prior to the split. Thus, we don't need to use the long-form version with StratifiedShuffleSplit.
Let's replace all of the StratifiedShuffleSplit calls with train_test_split.
The text was updated successfully, but these errors were encountered: