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

Skip to content

Conversation

@alfaro96
Copy link
Member

Reference Issues/PRs

Closes #16818.
Related with #14907.

What does this implement/fix? Explain your changes.

With the deprecation of the presort hyper-parameter, the use of the X_idx_sorted in the fit method has no longer effect.

This PR X_idx_sorted from the ensemble and tree module and deprecates from public API.

Copy link
Member

@glemaitre glemaitre left a comment

Choose a reason for hiding this comment

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

It looks good. Could you add an entry in what's new?

@alfaro96
Copy link
Member Author

Thanks @glemaitre for the review!

I have already committed the suggested changes.

Copy link
Member

@thomasjpfan thomasjpfan left a comment

Choose a reason for hiding this comment

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

Thank you for the PR @alfaro96 !

@alfaro96
Copy link
Member Author

Thank you for the PR @alfaro96 !

Thank you for the review @thomasjpfan!

Copy link
Member

@thomasjpfan thomasjpfan left a comment

Choose a reason for hiding this comment

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

LGTM

@thomasjpfan thomasjpfan merged commit e4ebcbc into scikit-learn:master Jun 17, 2020
@alfaro96 alfaro96 deleted the deprecate_X_idx_sorted_tree branch June 18, 2020 15:10
dsandeep0138 pushed a commit to dsandeep0138/scikit-learn that referenced this pull request Jun 21, 2020
rubywerman pushed a commit to MLH-Fellowship/scikit-learn that referenced this pull request Jun 24, 2020
viclafargue pushed a commit to viclafargue/scikit-learn that referenced this pull request Jun 26, 2020
jayzed82 pushed a commit to jayzed82/scikit-learn that referenced this pull request Oct 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unused parameter X_idx_sorted in tree classifiers

3 participants