Skip to content

[MRG+2] MAINT Remove deprecated sequence of sequence support etc - #4919

Merged
jnothman merged 18 commits into
scikit-learn:masterfrom
raghavrv:label_binarizer
Aug 13, 2015
Merged

jnothman merged 18 commits into
scikit-learn:masterfrom
raghavrv:label_binarizer

Conversation

@raghavrv

@raghavrv raghavrv commented Jul 2, 2015

Copy link
Copy Markdown
Member

No description provided.

@arjoly

arjoly commented Jul 2, 2015

Copy link
Copy Markdown
Member

Thanks a lot for handling this issue! Some tests are failing with travis.

@raghavrv raghavrv changed the title [MRG] MAINT Remove deprecated sequence of sequence support etc [WIP] MAINT Remove deprecated sequence of sequence support etc Jul 2, 2015
@raghavrv

raghavrv commented Jul 2, 2015

Copy link
Copy Markdown
Member Author

Thanks :) I am working on it!!

@raghavrv
raghavrv force-pushed the label_binarizer branch 3 times, most recently from 9ba8df3 to 0df467b Compare July 3, 2015 16:50
@raghavrv raghavrv changed the title [WIP] MAINT Remove deprecated sequence of sequence support etc [MRG] MAINT Remove deprecated sequence of sequence support etc Jul 3, 2015
@raghavrv

raghavrv commented Jul 3, 2015

Copy link
Copy Markdown
Member Author

@arjoly done :)

Also @amueller @vene @ogrisel @jnothman please take a look if you find time!

Comment thread sklearn/datasets/samples_generator.py Outdated

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would be better to generate the sparse matrix directly as for X.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Though it's probably no big deal.

@arjoly

arjoly commented Jul 4, 2015

Copy link
Copy Markdown
Member

Amazing work ! Thanks!

@raghavrv

raghavrv commented Jul 4, 2015

Copy link
Copy Markdown
Member Author

@arjoly @jnothman Thanks for the reviews! Have addressed your comments... Please take a look now :)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please don't remove return_indicator: we only deprecated its default value, not its existence.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Whether or not that was the right thing to do, we've implied that return_indicator=False is still an option.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hmm... so we would raise an error if return_indicator was False? Also now we should be deprecating it right?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, if someone explicitly sets it to false, they get what they used to, unless we decide it's worthwhile deprecating the parameter altogether, or renaming it.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, if someone explicitly sets it to false, they get what they used to, unless we decide it's worthwhile deprecating the parameter altogether, or renaming it.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

But its deprecation/renaming would be the subject of a separate PR.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done! :)

@raghavrv

Copy link
Copy Markdown
Member Author

Adding +1 since comments are addressed...

Have added ignore warnings where the warnings are raised and ignore warnings existed previously and removed from places where warnings are not raised...

Thanks a lot Andy for checking for warnings!! I should have done that :)

@amueller @vene @arjoly @jnothman Merge?

@raghavrv raghavrv changed the title [MRG+1] MAINT Remove deprecated sequence of sequence support etc [MRG+2] MAINT Remove deprecated sequence of sequence support etc Aug 11, 2015
@jnothman

Copy link
Copy Markdown
Member

Thank you, @rvraghav93, and goodbye 400 lines of code!

jnothman added a commit that referenced this pull request Aug 13, 2015
[MRG] MAINT Remove deprecated sequence of sequence support etc
@jnothman
jnothman merged commit 4c2d61a into scikit-learn:master Aug 13, 2015
@jnothman

Copy link
Copy Markdown
Member

Now, as an addendum, does anyone think there are backwards-compatibility problems with renaming 'multilabel-indicator' to 'multilabel'? type_of_target was never officially made public, so it should be safe in theory, but it could affect someone's work and is purely aesthetic.

@raghavrv

Copy link
Copy Markdown
Member Author

Thanks for the reviews and merge! 😄

renaming 'multilabel-indicator' to 'multilabel'

Are there any more representations for multilabel target y, that could be added in the future?? If not this would be neat to have!

@raghavrv
raghavrv deleted the label_binarizer branch August 13, 2015 12:46
@amueller

Copy link
Copy Markdown
Member

Not entirely sure. It might impact someones code. We should really be better at distinguishing private and public utils.

@arjoly

arjoly commented Aug 14, 2015

Copy link
Copy Markdown
Member

🍻 thanks @rvraghav93 !

@jnothman

Copy link
Copy Markdown
Member

@arjoly, in your opinion, should we drop back to 'multilabel'?

On 14 August 2015 at 17:29, Arnaud Joly [email protected] wrote:

[image: 🍻] thanks @rvraghav93 https://github.com/rvraghav93 !

—
Reply to this email directly or view it on GitHub
#4919 (comment)
.

@arjoly

arjoly commented Aug 24, 2015

Copy link
Copy Markdown
Member

I am ok for the name change.

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.

5 participants