gpb.Dataset.create.valid | R Documentation |
Construct validation data according to training data
gpb.Dataset.create.valid(dataset, data, info = list(), ...)
dataset |
|
data |
a |
info |
a list of information of the |
... |
other information to pass to |
constructed dataset
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.