![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
决策树
肥肥就是我
这个作者很懒,什么都没留下…
展开
-
如何在anaconda中安装pydotplus
在用Python学习构建决策树是,需要可视化已构建好的决策树,需要用到pydotplus包,那面如何在anaconda中安装呢? 使用如下代码: conda install -c conda-forge pydotplus http://stackoverflow.com/questions/36979421/how-can-i-use-conda-to-instal翻译 2017-05-05 11:04:54 · 18711 阅读 · 0 评论 -
1.10. Decision Trees : sklearn.tree.DecisionTreeClassifier
apply(X, check_input=True)[source] Returns the index of the leaf that each sample is predicted as. 返回预测样本所在叶子节点的索引。 Parameters: X : array_like or sparse matrix, shape = [n_samp原创 2017-05-05 19:06:11 · 783 阅读 · 0 评论