When I renewed my PC and tried to make a decision tree for the first time, it took me a while to forget how to create a visualization environment. Here, I will describe it with the meaning of my memorandum.
Official page of graphviz From here, go to the Download page and download the stable version below.
Download the .msi file. Double-click this downloaded msi file to install it.
command prompt
pip install graphviz
pip install pydotplus
Then add the directory containing the "dot.ext" file to Path. Open the advanced system settings and click Environment Variables.
Then add the directory with "dot.ext" to Path. In the case of I C: \ Users \ username \ Anaconda3 \ envs \ virtual environment name \ Library \ bin \ graphviz was.
Now you can visualize it!
Recommended Posts