Skip to content

Instantly share code, notes, and snippets.

@rdisipio
Created November 5, 2022 14:31
Show Gist options
  • Save rdisipio/795267e816a4f5b511c352268b0e5ec3 to your computer and use it in GitHub Desktop.
Save rdisipio/795267e816a4f5b511c352268b0e5ec3 to your computer and use it in GitHub Desktop.
from dtreeviz.trees import dtreeviz
viz = dtreeviz(clf, X_test, y_test,
target_name="target",
feature_names=feature_names,
class_names=class_names)
viz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment