dask / dask/dask-ml

No support for stratified split in dask_ml.model_selection.train_test_split

Open
#535 20 comments 6 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
951
Forks
262
PR merge metrics
No merged PRs in 30d

Description

scikit-learn implementation of train test split (sklearn.model_selection.train_test_split) supports splitting data according to class labels (stratified split) by using the argument `stratify`. This is especially useful when datasets have high class imbalance. It would be really helpful to have this feature in dask_ml as well.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.