Advertisement
Guest User

Untitled

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