[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.