gpb.Dataset.save {gpboost} | R Documentation |
Save gpb.Dataset
to a binary file
Description
Please note that init_score
is not saved in binary file.
If you need it, please set it again after loading Dataset.
Usage
gpb.Dataset.save(dataset, fname)
Arguments
dataset |
object of class |
fname |
object filename of output file |
Value
the dataset you passed in
Examples
data(agaricus.train, package = "gpboost")
train <- agaricus.train
dtrain <- gpb.Dataset(train$data, label = train$label)
gpb.Dataset.save(dtrain, tempfile(fileext = ".bin"))
[Package gpboost version 1.5.1.1 Index]