fengdu78 / lihang-code

《统计学习方法》的代码实现
18.99k stars 6.29k forks source link

About Ch5 DT #15

Open LiSiryh opened 5 years ago

LiSiryh commented 5 years ago

The following code that creat a pdf: tree_pic = export_graphviz(clf, out_file="mytree.pdf") with open('mytree.pdf') as f: dot_graph = f.read()

However, I can not open that, I wonder is there anything wrong?

fengdu78 commented 5 years ago

graphviz没有安装正确