View source: R/evaluate_emotions.R
| plot.emotion_evaluation | R Documentation |
Creates visualizations for emotion evaluation results including confusion matrix heatmaps and per-class metrics bar plots.
## S3 method for class 'emotion_evaluation'
plot(x, type = "both", ...)
x |
An emotion_evaluation object from evaluate_emotions() |
type |
Character. Type of plot: "confusion_matrix", "metrics", or "both" |
... |
Additional arguments passed to plotting functions |
A ggplot object or list of ggplot objects
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.