Advertisement
Guest User

bin

a guest
Jan 26th, 2020
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. dot_data=tree.export_graphiz(clf,feature_names=X.columns,class_names=['mammals','Non-mammals'],filled=True,out_file=None)
  2. graph=pydotplus.graph_from_dot_data(dot_data)
  3. image(graph.create_png())=True,out_file=none
  4. graph.create_png
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement