多分类度量gini index 第一份工作时, 基于 gini index 写了一份决策树代码叫ctree, 用于广告推荐。 今天想起来, 好像应该有开源的其他方法了。 参考 https://www.cnblogs.com/mlhy/p/4856062.html