View source: R/supervised-classification.R
| tl_plot_confusion | R Documentation |
Plot confusion matrix for a classification model
tl_plot_confusion(model, new_data = NULL, ...)
model |
A tidylearn classification model object |
new_data |
Optional data frame for evaluation (if NULL, uses training data) |
... |
Additional arguments |
A ggplot object with confusion matrix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.