[MRG] _get_estimators_indices() in BaseBagging class does not generate indices properly#16437
Conversation
|
Thanks for the pull request! |
glemaitre
left a comment
There was a problem hiding this comment.
As a regression test, you can use the one that you reported in the issue. This is good.
|
I am wondering if we have something similar regarding the feature indices? |
|
Regarding the failing tests, this is due to the change of the score in one of the docstring. This should be corrected as well. |
No similar problem regarding the |
There was a problem hiding this comment.
Please add an entry to the change log at doc/whats_new/v0.23.rst under bug fixes. Like the other entries there, please reference this pull request with :pr: and credit yourself (and other contributors if applicable) with :user:
I think that we change the behaviour of ExtraTrees* as well, so we should add a note in the what's new on the top (change in behaviour section)
Co-Authored-By: Guillaume Lemaitre <g.lemaitre58@gmail.com>
…into issue_16436
Added an entry to the change log as you suggested. Thanks a lot.
I have no idea on this one. Do I have to do something more? |
No need for this |
|
I push a quick reformatting of the what's new to follow the 80 characters limit. |
Reference Issues/PRs
Fixes #16436.
What does this implement/fix? Explain your changes.
It solves the bug reported by the issue #16436,
_get_estimators_indices()inBaseBaggingclass does not generate indices properly.As Joel Nothman suggested, the seed is passed directly into
_generate_bagging_indices()instead of the numpyRandomStateobject generated by the seed.Any other comments?
None.