This function lets the user calibrate a model's predictions when under or over sampling methods were applied when training it.
calibrate(score, train, target, train_sample, target_sample)
Vector. Probability predictions of the model output
Integer. Total row count in the training dataset
Integer. Total row count of the target class in the training dataset
Integer. Total row count in the training dataset after sampling
Integer. Total row count of the target class in the training dataset after sampling
Other Data Wrangling: balance_data
,
categ_reducer
, cleanText
,
date_feats
, dateformat
,
formatNum
, formatTime
,
holidays
, impute
,
left
, normalize
,
numericalonly
, ohse
,
one_hot_encoding_commas
,
rbind_full
, removenacols
,
removenarows
, replaceall
,
right
, textFeats
,
textTokenizer
, vector2text
,
year_month
, year_week