gpb.Dataset.create.valid {gpboost} | R Documentation |
Construct validation data
Description
Construct validation data according to training data
Usage
gpb.Dataset.create.valid(dataset, data, info = list(), ...)
Arguments
dataset |
|
data |
a |
info |
a list of information of the |
... |
other information to pass to |
Value
constructed dataset
Examples
data(agaricus.train, package = "gpboost")
train <- agaricus.train
dtrain <- gpb.Dataset(train$data, label = train$label)
data(agaricus.test, package = "gpboost")
test <- agaricus.test
dtest <- gpb.Dataset.create.valid(dtrain, test$data, label = test$label)
[Package gpboost version 1.5.1.1 Index]