2019-07-08
阅读量:
495
python如何查看决策树完整的流程
python如何查看决策树完整的流程
# import export_graphviz
from sklearn.tree import export_graphviz
# export the decision tree to a tree.dot file
# for visualizing the plot easily anywhere
export_graphviz(regressor, out_file ='tree.dot',
feature_names =['Production Cost'])







评论(0)


暂无数据
推荐帖子
0条评论
0条评论
0条评论