Description Usage Arguments Value Examples
Given the actual and predicted labels, this function computes the confusion matrix.
1 | confusionMatrix(actual, predicted)
|
actual |
This is a list of values corresponding to the true class of the data. |
predicted |
This is a list of values corresponding to the predicted class of the data using the EM algorithm. |
t |
This is the table representing the confusion matrix. |
1 2 3 4 | ## Not run:
confusionMatrix(c("A","B","A","B","B","A"),c(1,2,2,1,2,1))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.