+ 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?

15th Mar 2021, 1:54 PM
Mir Abir Hossain
Mir Abir Hossain - avatar
1 Antwort
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.
22nd Aug 2021, 7:48 PM
Wenkai Qu
Wenkai Qu - avatar