I try to run this example for decision tree learning, but get the following error message:
File \"coco.py\", line 18, in graph.write_pdf(\"iris.pdf
If you are on mac operating system then you might face this issue . I have installed graphviz with pip but dint work . So I had to install it with brew again and worked for me.
use following command
brew install graphviz