cross.validation: cross validation

Description Usage Arguments

Description

calculates cross validation for given parameter

Usage

1
2
cross.validation(pre = "", nfold, nthread, nrounds, testparname = NA,
  testpar = NA, plot = T, pdim = 10, width = 1.5)

Arguments

nfold

how many folds of dataset

nthread

number of CPU cores to use, NA for all

nrounds

number of training rounds

plot

should results be plotted, default=TRUE

pdim

dimension of plot, default=10

width

proportion of width to height, default=1.5

defpar

default parameter:default = list(eta=0.3, gamma=0, max_depth=6, min_child_weight=1, subsample=1, colsample_bytree=1)


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