Add one variable to the XGBoost scorecard
add_var_to_scorecard(df, target, feature, monotone_constraints = 0,
prev_pred = NULL, format_fn = base::I, weight = NULL,
save_model_fname = "")
a disk.frame
a character string indicating the variable name of the target
a character string indicating the variable name of the feature
1 higher value of feature equals higher success, -1 = the opposite, 0 = neither
a vector of score equal to the nrow(df) which is the previous predictions used for hot-start
a function to transform the feature vector before fitting a model
The weight of each entry
the file name to save the xgboost model as