Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save omchaithanyav/20f146148f432db8ec09f13e97953a79 to your computer and use it in GitHub Desktop.
Save omchaithanyav/20f146148f432db8ec09f13e97953a79 to your computer and use it in GitHub Desktop.
import seaborn as sn
cm = tf.math.confusion_matrix(labels = y_test, predictions = y_pred1)
plt.figure(figsize = (10,8))
sn.heatmap(cm, annot = True, fmt = 'd')
plt.xlabel("predicted")
plt.ylabel("actual")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment