cached

.

graphviz's executables not found


決定木をpydotplusを使ってJupyter環境で描きます。
gciの学習環境上では実行できないので、ローカル環境に構築しました。
cherries5557.hatenablog.com


実行環境
Mac Sierra 10.12.5
Ipython 5.1.0
anaconda 3-4.3.0

anaconda 3-4.3.0にはpydotplusが入っていないようなので、pipを使ってインストール。

pip install pydotplus

これだけではエラーがでます。

graphviz's executables not found

MacGraphviz'sがインストールされていないのが原因のようです。

brew install graphviz

動きました

f:id:Cherries5557:20170531181219p:plain