-
-
Notifications
You must be signed in to change notification settings - Fork 25.3k
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
[MRG] Precompute X_argsorted in AdaBoost #1668
Conversation
LGTM. |
sweet, that was fast :) |
Can we test somehow that it does the right thing? |
BTW: if we used |
-1 on using inspect. It's a really ugly hack. |
What shall be used instead? Indeed, that trick also works for forests of randomized trees.
(I have no strong opinion about that. I will be happy as soon it speeds things up for trees.) |
@glouppe The solution based on |
I changed for |
-1 on |
My gut feeling is that if we have to resort to something like that, something went wrong. |
I am ok for Alternatively I am also ok for The later option would require refactoring the |
Ok, I guess the private method would be the nicest solution as it allows usual ducktyping. |
So basically, can this be merged as this or shall I add now |
feel free to merge |
[MRG] Precompute X_argsorted in AdaBoost
@glouppe Please open a new issue to implement the |
:). Relying on inheritence is troublesome for software design. |
This fixes #1667.