reliability_diagramm: reliability_diagramm

Description Usage Arguments Value See Also

View source: R/reliability_diagram.R

Description

Reliability curves allow checking if the predicted probabilities of a

Usage

1
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


CalibratR documentation built on Aug. 19, 2019, 5:04 p.m.