決策樹可視化

步驟: 【1】生成決策樹 from sklearn.externals.six import StringIO savefile='E:\\test\\treepattern.dot' with open(savefile, 'w') as f: f = tree.export_graphviz(clf, out_file=f, feature_names=vec.get_feature
相關文章
相關標籤/搜索