python - Is it necessary to onehot discrete variables in tree models?
黄舟2017-05-18 10:46:59
0
1
857
Specifically, take sklearn's GBDT as an example If the data is all discrete, can it be trained directly? If there is continuity in the data, can it be trained directly?
The tree model can originally be applied to discrete variables, while continuous variables are regression trees