Description Usage Arguments Value
Using an accuracy score when classes are imbalanced can be really deceiving. A confusion matrix can be used as an alternative measure of performance. This confusion matrix expects boolean spatial matrices for Y. It uses a 'resolve' matrix to exclude ineligible predictions.
1 2 | ## S3 method for class 'bayes'
confusionMatrix(object, Y_true, Y_predict)
|
object |
bayes s3 object |
Y_true |
boolean matrix of correct values |
Y_predict |
boolean matrix of predicted values |
2 by 2 confusion matrix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.