New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow n_samples to be a tuple in make_blobs #8617

amueller opened this Issue Mar 20, 2017 · 1 comment


None yet
2 participants

amueller commented Mar 20, 2017

I'd like make_blobs to accept lists or tuples for n_samples to generate imbalanced classes. Could be used here for example:


This comment has been minimized.

kkatrio commented Mar 20, 2017

@amueller You mean something like make_blobs(n_samples=[50,30,20]) for example? I am working on this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment