用Jupyter Notebook的話,要先載入graphviz,它是一種樹工具,再用內建函式export_graphviz()。 pip install graphviz from sklearn.tree import export_graphviz.
確定! 回上一頁