plot_class_distributions
plots the the returned conditional class probabilities P(x|C) of GUESS_1 or GUESS_2 models. Which GUESS model is plotted can be specified in pred_idx
.
plot_class_distributions(build_guess_object, pred_idx)
build_guess_object
: output from build_GUESS()pred_idx
: if pred_idx
=1 GUESS_1 is plotted; if pred_idx
=2 GUESS_2 is plottedggplot object that visualizes the returned calibrated predicition estimates by GUESS_1 or GUESS_2
melt
ggplot
,geom_line
,aes
,scale_colour_manual
,theme
,labs
,geom_vline
,geom_text
Useful links