4

了解Sklearn的CART和DecisionTreeClassifier的区别。

在 Sklearn 的文档中,它说“ scikit-learn 使用了 CART 算法的优化版本”。但是,我在任何地方都找不到这种优化!

如果您能帮我弄清楚这里发生了什么样的优化以及两者之间有什么区别,那就太好了。

4

1 回答 1

0

查看源代码,他们引用

    .. [2] L. Breiman, J. Friedman, R. Olshen, and C. Stone, "Classification
           and Regression Trees", Wadsworth, Belmont, CA, 1984.
    .. [3] T. Hastie, R. Tibshirani and J. Friedman. "Elements of Statistical
           Learning", Springer, 2009.
    .. [4] L. Breiman, and A. Cutler, "Random Forests",
           https://www.stat.berkeley.edu/~breiman/RandomForests/cc_home.htm
于 2019-10-07T18:11:18.953 回答