我正在学习逻辑回归概念的概念。当我在 python 中实现它时,它向我显示了下面提到的一些错误。我是python的初学者。有人可以帮助纠正这个错误吗?
() 中的 RuntimeError Traceback(最近一次调用最后一次)
64 theano.printing.pydotprint(predict,
65 outfile="pics/logreg_pydotprint_predic.png",
66 var_with_name_simple=True)
67 # before compilation
68 theano.printing.pydotprint_variables(prediction,
C:\Anaconda\lib\site-packages\theano\printing.pyc in pydotprint(fct, outfile, compact, format, with_ids, high_contrast, cond_highlight, colorCodes, max_label_size, scan_graphs, var_with_name_simple, print_output_file, assert_nb_all_strings)
565
566 if not pydot_imported:
567 raise RuntimeError("Failed to import pydot. You must install pydot"
568 " for `pydotprint` to work.")
569 return
RuntimeError: 无法导入 pydot。您必须安装 pydotpydotprint
才能工作。