compares error values among different calibration models. A boxplots is created from the n error values that were obtained during the n-times repeated Cross-Validation procedure.
Different error values are implemented and can be compared:
discrimination error = sensitivity, specificity, accuracy, AUC (when discrimination
=TRUE)
calibration error = ece, mce, rmse, class 0 cle, class 1 cle (when discrimination
=FALSE)
For the calculation of the errors, see the respective methods listed in the "see also" section
visualize_error_boxplot(list_models, discrimination = TRUE)
list object that contains all error values for all trained calibration models. For the specific format, see the calling function visualize_calibratR
.
boolean (TRUE or FALSE). If TRUE, discrimination errors are compared between models; if FALSE calibration error is compared, Default: TRUE
An object of class list, with the following components:
if discrimination
=TRUE
ggplot2 boxplot that compares all evaluated calibration models with regard to sensitivity.
ggplot2 boxplot that compares all evaluated calibration models with regard to specificity
ggplot2 boxplot that compares all evaluated calibration models with regard to accuracy
ggplot2 boxplot that compares all evaluated calibration models with regard to AUC
list object that contains all discrimination error values that were used to construct the boxplots
ggplot2 boxplot that compares all evaluated calibration models with regard to expected calibration error
ggplot2 boxplot that compares all evaluated calibration models with regard to maximum expected calibration error (MCE)
ggplot2 boxplot that compares all evaluated calibration models with regard to root mean square error (RMSE)
ggplot2 boxplot that compares all evaluated calibration models with regard to class 0 classification error (CLE)
ggplot2 boxplot that compares all evaluated calibration models with regard to class 1 classification error (CLE)
list object that contains all calibration error values that were used to construct the boxplots
ggplot
,aes
,ggtitle
,scale_x_discrete
,geom_boxplot
,theme
,element_text
melt
,get_CLE_class
,getECE
,getMCE
,getRMSE
, evaluate_discrimination