parameter.test: parameter test

Description Usage Arguments

Description

parameter test

Usage

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)

Arguments

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


sbbrandt/xgbAnalysis documentation built on May 29, 2019, 9:11 a.m.