Description Usage Arguments Examples
This function is a wrapper to create an evaluation metric.
1 | xgboard.xgb(..., f, dumper)
|
... |
Type: nothing. Ignore. |
f |
Type: function. An xgboost evaluation metric function with |
dumper |
Type: environment. An environment created by |
1 2 3 4 5 6 7 8 9 10 11 | ## 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))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.