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

Closed
amueller opened this Issue Mar 20, 2017 · 1 comment

Comments

Projects
None yet
2 participants
@amueller
Member

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:

http://scikit-learn.org/dev/auto_examples/svm/plot_separating_hyperplane_unbalanced.html#sphx-glr-auto-examples-svm-plot-separating-hyperplane-unbalanced-py

@kkatrio

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