Skip to content

Instantly share code, notes, and snippets.

@SajidLhessani
Created August 26, 2021 12:42
Show Gist options
  • Select an option

  • Save SajidLhessani/15168d43333644069855c1864ac64232 to your computer and use it in GitHub Desktop.

Select an option

Save SajidLhessani/15168d43333644069855c1864ac64232 to your computer and use it in GitHub Desktop.
# Calculate the confusion matrix
cm = confusion_matrix(y[split:], y_predict)
cm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment