决策树可视化Program terminated with status: 1. stderr follows: Format: “png“ not recognized. Use one of:

机器学习决策树 可视化问题   Program terminated with status: 1. stderr follows: Format: "png" not recognized. Use one of:


出现该问题,在安装pydotplus graphviz的前提下(pip install pydotplus 和 pip install graphviz),打开命令行 输入

dot -c

如下

再进行尝试可视化,便不会报错

你可能感兴趣的:(python,机器学习,决策树)