Description Usage Arguments Value See Also
Calculates confusion matrix and ROC statistics comparing the results of the fitted models to the observed groups.
1 |
data |
dataframe of predicted (pred) and observed (obs) groups |
lev |
Group levels |
model |
String indicating which model was initially run |
Returns confusion matrix and ROC performance statistics including Accuracy, Kappa, ROC.AUC, Sensitivity, Specificity, Positive Predictive Value, and Negative Predictive Value
caret function confusionMatrix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.