Skip to content

Instantly share code, notes, and snippets.

@nopps07
Created March 12, 2021 09:10
Show Gist options
  • Save nopps07/7cee00cc59df7e3528609faa6f7c59f2 to your computer and use it in GitHub Desktop.
Save nopps07/7cee00cc59df7e3528609faa6f7c59f2 to your computer and use it in GitHub Desktop.
{r confusion matrix visualization}
# confusion matrix visualization
fourfoldplot(cm, color = c("#ff0000", "#1500ff"),
conf.level = 0, margin = 1, main = "Confusion Matrix")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment