confmatrix | R Documentation |
Calculates a cross-tabulation of observed and predicted classes with associated statistics.
confmatrix(actuals, preds)
actuals |
a numeric vector |
preds |
a numeric vector |
confmatrix
A table same as caret::ConfusionMatrix
Jayachandra N
confmatrix(c(1,1,1,0), c(1,1,0,0))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.