Description Usage Arguments Details Value Examples
Make confusion matrix
1 | confusionMatrix(model)
|
model |
(list) output of buildPredictor() |
Creates a confusion matrix, a square matrix which indicates the fraction of times patients in a class are correctly classified, versus misclassified as each of the other classes. Here, the confusion matrix is computed once per train-test split and the average is displayed. For this reason, the fractions may not cleanly add up to 100
(list) confusion matrix for all train/test splits and final averaged matrix Side effect of plotting the averaged matrix.
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.