Repository navigation
[WIP] Monotonic features in tree-based models - #7266
pat-oreilly wants to merge 4 commits into
Conversation
|
fwiw, |
|
Thanks @nelson-liu! |
|
Just a note that we're focusing on a release now. If it's quiet around On 29 August 2016 at 05:46, PatrickOReilly [email protected] wrote:
|
DecisionTrees RandomForests GradientBoosting
|
tests are unhappy ;) |
|
Thanks @amueller, I think the tests are better now but the Travis build fails with I'm running some tests to see if the runtime is affected when |
|
the test error is because of travis caching. I'll try to fix it. I think you should accept array-likes, i.e. anything that can be converted to an array. You should validate them with the |
|
hm for some reason I don't see the cache for this PR on travis :-/ |
|
any update on this @amueller? seems like monotonicity pull-requests have been close for over a year but not quite getting merged |
|
This would be a great feature to merge. |
|
@PatrickOReilly are you still working on this? |
|
Would anyone care to pick this up? |
|
I'm planning on having a closer look at this. |
|
@samronsin Just in case, depending on how important it is to support this for random forests, you might want to try implementing this for the new GBDTs instead (#12807) |
Reference Issue
#6656
What does this implement/fix?
Support for monotonically increasing or decreasing features in decision trees, random forests and gradient boosted trees.
Any other comments?
Tasks
splitter="random"should honour monotonic constraints and verify behaviourcriterion.weighted_n_<left/right>can ever be 0.0 and handle it. Answer: it's OK.