calibrate_me function

calibrate_me

calibrate_me

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

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

Returns

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

  • Maintainer: Dominik Heider
  • License: LGPL-3
  • Last published: 2019-08-19

Useful links