-
-
Notifications
You must be signed in to change notification settings - Fork 26k
DOC added example for sklearn.datasets.make_multilabel_classification
#28354
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
DOC added example for sklearn.datasets.make_multilabel_classification
#28354
Conversation
Examples | ||
-------- | ||
>>> from sklearn.datasets import make_multilabel_classification | ||
>>> X, y = make_multilabel_classification(random_state=42) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @rprkh thanks as always for your PR! I guess we can set a custom n_label=3
to better understand in a glimpse how it affects the elements in y
.
Hey, I added the suggestions @ArturoAmorQ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM but I'll let @glemaitre give his advice on this one. Thanks again @rprkh :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thanks @rprkh
Reference Issues/PRs
Towards #27982
What does this implement/fix? Explain your changes.
Adds an example to the docstring of
make_multilabel_classification
Any other comments?