Construct Dataset explicitly

lgb.Dataset.construct(dataset)

Arguments

dataset

Object of class lgb.Dataset

Examples

# \dontrun{ data(agaricus.train, package = "lightgbm") train <- agaricus.train dtrain <- lgb.Dataset(train$data, label = train$label) lgb.Dataset.construct(dtrain) # }