You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
InvocationException: Program terminated with status: 1. stderr follows: 'D:\PROGRAM' is not recognized as an internal or external command,
operable program or batch file.
The text was updated successfully, but these errors were encountered:
InvocationException Traceback (most recent call last)
in
----> 1 plot_decision_tree(clf, X_train.columns,df.columns[1])
in plot_decision_tree(clf, feature_name, target_name)
7 special_characters=True)
8 graph = pydotplus.graph_from_dot_data(dot_data.getvalue())
----> 9 return Image(graph.create_png())
D:\PROGRAM FILES\Anaconda\lib\site-packages\pydotplus\graphviz.py in (f, prog)
1789 self.setattr(
1790 'create_' + frmt,
-> 1791 lambda f=frmt, prog=self.prog: self.create(format=f, prog=prog)
1792 )
1793 f = self.dict['create_' + frmt]
D:\PROGRAM FILES\Anaconda\lib\site-packages\pydotplus\graphviz.py in create(self, prog, format)
2024 raise InvocationException(
2025 'Program terminated with status: %d. stderr follows: %s' % (
-> 2026 status, stderr_output))
2027 elif stderr_output:
2028 print(stderr_output)
InvocationException: Program terminated with status: 1. stderr follows: 'D:\PROGRAM' is not recognized as an internal or external command,

operable program or batch file.
The text was updated successfully, but these errors were encountered: