0

我正在构建一个使用具有连续值(双精度值)的字段的决策树。我应该如何创建范围节点来构建树(找到最佳范围值)

4

1 回答 1

0

The standard way in growing a decision tree is to find the threshold that minimizes the (weighted) sum of either the entropies or the Gini impurities of the child nodes.

ALGLIB is a good open-source implementation to study when one wants to implement this oneself:

http://www.alglib.net/dataanalysis/decisionforest.php

于 2012-12-10T19:21:11.687 回答