Description Usage Arguments Value Author(s) Examples
View source: R/create_confmatrix.R
Creates an NxN confusion matrix for a binary classification and its reference values
1 | create_confmatrix(predicted, reference)
|
predicted |
predicted class |
reference |
reference class |
confmat confusion matrix
Vincent T van Hees
1 2 3 4 5 | set.seed(21)
reference <- make.names(round(runif(n=10,min=0,max=0.8),digits=0))
set.seed(23)
predicted <- make.names(round(runif(n=10,min=0,max=0.8),digits=0))
confusionmatrix <- create_confmatrix(reference, predicted)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.