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

Skip to content

[MRG + 1] Fix _get_importances. #7487

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
Sep 25, 2016

Conversation

fukatani
Copy link
Contributor

Fixes #7481.

Not to use expensive hasattr, call getattr explicitly.
And call getattr only once.

Not to use hasattr.
@fukatani fukatani changed the title [WIP] Fix _get_importances. [MRG] Fix _get_importances. Sep 25, 2016
@amueller
Copy link
Member

lgtm

@amueller amueller changed the title [MRG] Fix _get_importances. [MRG + 1] Fix _get_importances. Sep 25, 2016
@NelleV NelleV merged commit 3a106fc into scikit-learn:master Sep 25, 2016
@jnothman
Copy link
Member

Thanks @fukatani

TomDLT pushed a commit to TomDLT/scikit-learn that referenced this pull request Oct 3, 2016
amueller pushed a commit to amueller/scikit-learn that referenced this pull request Oct 14, 2016
Sundrique pushed a commit to Sundrique/scikit-learn that referenced this pull request Jun 14, 2017
paulha pushed a commit to paulha/scikit-learn that referenced this pull request Aug 19, 2017
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