Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[MRG+1] Raise appropriate error if y is sparse #5542

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

Merged
merged 1 commit into from
Oct 23, 2015

Conversation

arjoly
Copy link
Member

@arjoly arjoly commented Oct 22, 2015

ping @rvraghav93 @glouppe @jnothman

@arjoly arjoly changed the title Raise appropriate error if y is sparse [MRG] Raise appropriate error if y is sparse Oct 22, 2015
@glouppe
Copy link
Contributor

glouppe commented Oct 22, 2015

Fine for me. But this means trees cannot be used for multi-label?

@arjoly
Copy link
Member Author

arjoly commented Oct 22, 2015

You can do it for multi-label with a dense array, but this is not (and has never) been possible for sparse y. Note that it's possible to implement a criterion that supports a sparse y.

@glouppe
Copy link
Contributor

glouppe commented Oct 22, 2015

Oh yeah, right, Okay then. +1

@glouppe glouppe changed the title [MRG] Raise appropriate error if y is sparse [MRG+1] Raise appropriate error if y is sparse Oct 22, 2015
@arjoly
Copy link
Member Author

arjoly commented Oct 23, 2015

ping @jmschrei @MechCoder

@MechCoder
Copy link
Member

LGTM. Would be great if you could look at #5497

amueller added a commit that referenced this pull request Oct 23, 2015
[MRG+1] Raise appropriate error if y is sparse
@amueller amueller merged commit 91753dc into scikit-learn:master Oct 23, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants