Created
March 11, 2019 17:26
-
-
Save Souldiv/8c8c6112306bc9e57cf4ff8f34e174b4 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
import seaborn as sns | |
import matplotlib.pyplot as plt | |
# For Notebooks | |
%matplotlib.pyplot as plt | |
def make_plot(y_true, y_pred): | |
df_cm = confusion_matrix(y_true, y_pred) | |
sns.set() | |
_ = sns.heatmap(df_cm, annot=True) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment