visualize_distribution {CalibratR}R Documentation

visualize_distribution

Description

FUNCTION_DESCRIPTION

Usage

visualize_distribution(actual, predicted)

Arguments

actual

vector of observed class labels (0/1)

predicted

vector of uncalibrated predictions

Value

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

See Also

ggplot,geom_histogram,aes,scale_colour_manual,scale_fill_manual,labs


[Package CalibratR version 0.1.2 Index]