Description Usage Arguments Value Examples
This function takes in two arrays and produces a heatmap of the confusion
matrix. The heatmap squares include proportions depending on the align parameter
of actual (align
= 1) or predicted (align
= 2)
1 | get_confusion_plot(actual, predicted, align = 1)
|
actual |
an array |
predicted |
an array |
a heatmap of confusion!
1 | get_confusion_plot(c(1,2,3,3,3,3,1,1,1,2,2,3,3), c(3,2,1,3,2,3,1,1,2,1,2,3,3))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.