parameter test
1 2 3 4 | parameter.test(nthread, nrounds, defpar = list(objective = "multi:softmax",
num_class = 2, eta = 0.3, gamma = 0, max_depth = 6, min_child_weight = 1,
subsample = 1, colsample_bytree = 1), testpar, plot = T, pdim = 10,
width = 1.5)
|
nthread |
number of CPU cores to use, NA for all |
nrounds |
number of training rounds |
defpar |
default parameter, default = list(eta=0.3, gamma=0, max_depth=6, min_child_weight=1, subsample=1, colsample_bytree=1) |
testpar |
list of parameter to test: data.frame(parameter name = c(start, stop, stepsize, adjust nrounds(T/F)), eta = c(0.1,0.5,0.1,T)) |
plot |
should results be plotted, default=TRUE |
pdim |
dimension of plot, default=10 |
width |
proportion of width to height, default=1.5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.