## Not run: ------------------------------------
# # Model will be trained using these parameters
# # Take note of eval_metric needing xgboard.xgb(f = your metric, dumper = envir)
# param <- list(max_depth = 2,
# eta = 1,
# silent = 1,
# nthread = 2,
# objective = "binary:logistic",
# eval_metric = xgboard.xgb(f = board.evalerror, dumper = my_envir))
## ---------------------------------------------
Run the code above in your browser using DataLab