vp_plot_matrix | R Documentation |
Plots normalized confusion matrix
vp_plot_matrix(cm, classes, type, addLabels = TRUE, threshold = NULL)
cm |
Confusion matrix (numeric) |
classes |
character list of classes present in confusion matrix (ordered) |
type |
character value 'NN', 'SVM' or 'Dual', appended to 'Confusion Matrix' to create title |
addLabels |
logical value whether to add percentage accuracy labels to plot (defaults to TRUE) |
threshold |
numeric value which determines the minimum value of frequency labelled on the plot on a normalized scale of 0-1 (useful for highlighting significant disagreement) |
a visualization of the confusion matrix, normalized
E. Chisholm
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.