+ 1
Problem with visualizing decision tree from ML course.
In the ML course, sololearn has a lesson where they visualize decision tree using graphviz. I copied the code in my pycharm ide, but it is not showing anything. Seems like the code was for jupyter notebook env. How can I see the graph in pycharm?
1 Réponse
0
First plz make sure you have installed graphviz properly. If the program did not raise an exception then the installation was successful. After running the code, there will be a file named ‘tree.png’ saved on your computer, and you can simply search for this file.