calibrate_me {CalibratR}R Documentation

calibrate_me

Description

trains calibration models on the training set of predicted/actual value pairs.model_idx specifies which models should be trained.

Usage

calibrate_me(actual, predicted, model_idx)

Arguments

actual

vector of observed class labels (0/1)

predicted

vector of uncalibrated predictions

model_idx

a single number from 1 to 5, indicating which calibration model should be implemented, 1=hist_scaled, 2=hist_transformed, 3=BBQ_scaled, 4=BBQ_transformed, 5=GUESS

Value

depending on the value of model_idx, the respective calibration model is build on the input from actual and predicted


[Package CalibratR version 0.1.2 Index]