reliability_diagramm
Reliability curves allow checking if the predicted probabilities of a
reliability_diagramm(actual, predicted, bins = 10, plot_rd = TRUE)
actual
: vector of observed class labels (0/1)predicted
: vector of uncalibrated predictionsbins
: number of bins in the reliability diagram, Default: 10plot_rd
: should the reliability diagram be plotted, Default: TRUEa list object containing the following elements - calibration_error:
discrimination_error:
rd_breaks:
histogram_plot:
diagram_plot:
mean_pred_per_bin:
accuracy_per_bin:
freq_per_bin:
sign:
ggplot
,stat_bin
,aes
,scale_fill_manual
,theme
,labs
,geom_point
,xlim
,ylim
,geom_abline
,geom_line
,geom_text
,geom_label
,coord_fixed
Useful links