-
-
Save amankharwal/332353acec6faab1a69c24f7e4834b1c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from dtreeviz.trees import * | |
viz = dtreeviz(clf, | |
X_train, | |
y_train.values, | |
target_name='Genre', | |
feature_names=list(X.columns), | |
class_names=list(labels.unique()), | |
histtype='bar', | |
orientation ='TD') | |
viz |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment