calibrate_me: calibrate_me

Description Usage Arguments Value

View source: R/calibrate_me.R

Description

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

Usage

1
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


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