
Plot Integrated Brier Score Against Alpha With Dynamic Model Fit
Source:R/tune_diagnostics.R
plot_tune_alpha_ibs.RdVisualizes the relationship between elastic net mixing parameter `alpha` and Integrated Brier Score across resampling folds, overlaying the fitted line from [fit_ibs_mixed_model()] and its dynamic equation.
Usage
plot_tune_alpha_ibs(
data,
log_ibs = TRUE,
show_points = TRUE,
show_line = TRUE,
label_map = NULL,
style = NULL
)Arguments
- data
A data frame from [tune_alpha_by_split()].
- log_ibs
Logical. When `TRUE` (default), plots `log10(IBS)`.
- show_points
Logical. Plot individual resample points. Default `TRUE`.
- show_line
Logical. Overlay the fitted regression line. Default `TRUE`.
- label_map
Optional label mapping (see [cbe_labels()]).
- style
Optional label style (`"short"` or `"full"`).