visualize_distribution {CalibratR} | R Documentation |
FUNCTION_DESCRIPTION
visualize_distribution(actual, predicted)
actual |
vector of observed class labels (0/1) |
predicted |
vector of uncalibrated predictions |
list object containing the following components:
plot_distribution |
ggplot histogram that visualizes the observed class distributions |
parameter |
list object that summarizes all relevant parameters (mean, sd, number) of the observed class distributions |
ggplot
,geom_histogram
,aes
,scale_colour_manual
,scale_fill_manual
,labs