文件寫入錯(cuò)誤
輸入
with open("tree.dot", 'w') as f:
? ??tree.export_graphviz(clf, out_file=f)
報(bào)錯(cuò)SyntaxError: Invalid syntax
輸入
with open("tree.dot", 'w') as f:
? ??tree.export_graphviz(clf, out_file=f)
報(bào)錯(cuò)SyntaxError: Invalid syntax
舉報(bào)
2017-07-21