View source: R/supervised-classification.R
| tl_plot_calibration | R Documentation |
Plot calibration curve for a classification model
tl_plot_calibration(model, new_data = NULL, bins = 10, ...)
model |
A tidylearn classification model object |
new_data |
Optional data frame for evaluation (if NULL, uses training data) |
bins |
Number of bins for grouping predictions (default: 10) |
... |
Additional arguments |
A ggplot object with calibration curve
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.