Description Usage Arguments Value References
Function to calculate the confusion matrix given to vectors
1 | conf_matrix(pred_class, target)
|
pred_class |
A vector numeric binary (0, 1) of predictions |
target |
A numeric binary vector (0, 1) |
A list with: the confusion matrix, some summaries.
http://www2.cs.uregina.ca/~dbd/cs831/notes/confusion_matrix/confusion_matrix.html
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.