摘要:
当我在visualize决策树,运行以下代码时,报错: InvocationException: GraphViz's executables not found 查阅资料后发现,原来我没有安装GraphViz's executables.我是用pip安装的Graphviz,但是Graphviz不是 阅读全文
posted @ 2016-09-29 11:09
pinweihelai
阅读(7353)
评论(0)
推荐(1)
摘要:
我在可视化决策树,运行以下代码时报错:AttributeError: 'list' object has no attribute 'write_pdf' 我使用的是python3.4 查阅资料后发现,原来我使用的是较新版本的python.可以采取如下两种解决方案: try with pydotpl 阅读全文
posted @ 2016-09-29 08:38
pinweihelai
阅读(12691)
评论(1)
推荐(0)
摘要:
我在使用pyhon3.4运行以下代码时报错:AttributeError: '_csv.reader' object has no attribute 'next' 解决方案: For version 3.2 and above Change: csv_file_object.next() To: 阅读全文
posted @ 2016-09-29 08:21
pinweihelai
阅读(3548)
评论(0)
推荐(1)