你好 王老師 安裝了graphviz之后 報(bào)了CalledProcessError 但是測(cè)試結(jié)果可以跑出來
CalledProcessError Traceback (most recent call last)
<ipython-input-25-da79615505d3> in <module>()
10
11 from subprocess import check_call
---> 12 check_call(['dot','-Tpng','safe-loans.dot','-o','safe-loans.png'])
13
14 from IPython.display import Image as PImage
/Users/henrywang/anaconda/lib/python2.7/subprocess.pyc in check_call(*popenargs, **kwargs)
184 if cmd is None:
185 cmd = popenargs[0]
--> 186 raise CalledProcessError(retcode, cmd)
187 return 0
188
CalledProcessError: Command '['dot', '-Tpng', 'safe-loans.dot', '-o', 'safe-loans.png']' returned non-zero exit status -6
貸還是不貸:如何用Python和機(jī)器學(xué)習(xí)幫你決策?耳聞目睹了機(jī)器學(xué)習(xí)的諸般神奇棚亩,有沒有沖動(dòng)打算自己嘗試一下额衙?本文我們通過一個(gè)貸款風(fēng)險(xiǎn)評(píng)估的案例,用最通俗的語言向你介紹機(jī)器學(xué)習(xí)的基礎(chǔ)招式琼掠,一步步幫助你用Python完成自己的第...