reliability_diagramm {CalibratR}R Documentation

reliability_diagramm

Description

Reliability curves allow checking if the predicted probabilities of a

Usage

reliability_diagramm(actual, predicted, bins = 10, plot_rd = TRUE)

Arguments

actual

vector of observed class labels (0/1)

predicted

vector of uncalibrated predictions

bins

number of bins in the reliability diagram, Default: 10

plot_rd

should the reliability diagram be plotted, Default: TRUE

Value

a 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

See Also

ggplot,stat_bin,aes,scale_fill_manual,theme,labs,geom_point,xlim,ylim,geom_abline,geom_line,geom_text,geom_label,coord_fixed


[Package CalibratR version 0.1.2 Index]