Skip to content

Instantly share code, notes, and snippets.

@iprocheta
Last active August 27, 2017 04:49
Show Gist options
  • Save iprocheta/0d5d309de7446d6b7b0fcce6ca325692 to your computer and use it in GitHub Desktop.
Save iprocheta/0d5d309de7446d6b7b0fcce6ca325692 to your computer and use it in GitHub Desktop.
python code
with open(r"E:\clf_entropy.txt", "w") as f:
f = tree.export_graphviz(clf_entropy, out_file=f)
print(clf_entropy.get_params(deep=True))
@manashmandal
Copy link

manashmandal commented Aug 27, 2017

with open(r"E:\clf_entropy.txt", "w") as f:
    f = tree.export_graphviz(clf_entropy, out_file=f)
print(clf_entropy.get_params(deep=True))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment