Description Usage Arguments See Also Examples
Compute confusion statistics (recall, precision, etc.)
| 1 | confusion_stats(x, sort.by = NULL)
 | 
| x | confusion matrix (table class with predictions as line and validated, true classes as columns), as returned by  | 
| sort.by | column to sort the result by (usually "recall", "precision", or "F1"); can be abbreviated | 
Other confusion statistics functions: autoplot.table,
blank_diagonal,
confusion_matrix
| 1 2 3 4 5 | n <- 50
pred <- sample(letters[1:5], size=n, replace=TRUE)
valid <- sample(letters[2:8], size=n, replace=TRUE)
x <- confusion_matrix(pred, valid)
confusion_stats(x)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.