[WIP] GH-6769: multinomial dt yuliia - #16310
Conversation
…nto GH-6769_multinomial_DT_yuliia
|
Please add to your CompressLeaf class accommodation for leave nodes that will contain an array of probabilities one for each of the multinomial class. Currently, it only takes one value for binary classification. |
|
I run into NPE error with this dataset: |
|
With this code: import sys def test_dt_multinomial(): if name == "main": |
|
I would like to have an basic
|
|
|
||
|
|
||
| private static double calculateCriterionOfSplit(SplitStatistics binStatistics) { | ||
| // if(binStatistics.() == 2) // todo - fix bin statistics first, they are binomial-only now |
There was a problem hiding this comment.
Please finish those TODOs
|
Thank you for your work. It looks great. |
| "categorical_encoding", | ||
| "response_column", | ||
| "seed", | ||
| "distribution", |
There was a problem hiding this comment.
@wendycwong what is the idea behind the distribution here? I see that we optimize entropy in splits.. the attribute is not used in code.
#6769