powered by
gpb.Dataset
Please note that init_score is not saved in binary file. If you need it, please set it again after loading Dataset.
init_score
gpb.Dataset.save(dataset, fname)
the dataset you passed in
object of class gpb.Dataset
object filename of output file
# \donttest{ data(agaricus.train, package = "gpboost") train <- agaricus.train dtrain <- gpb.Dataset(train$data, label = train$label) gpb.Dataset.save(dtrain, tempfile(fileext = ".bin")) # }
Run the code above in your browser using DataLab