python决策树GraphViz可视化('dot' not found in path)

安装GraphViz

下载地址:https://graphviz.gitlab.io/_pages/Download/Download_windows.html
选择msi文件下载,安装即可。安装完成后,将bin目录加入到系统path环境变量中

也在我上传的资源中下载

安装graphviz的python库

使用conda install python-graphviz命令安装即可

你可能感兴趣的:(人工智能,编程学习笔记)