lgb.Dataset.construct: Construct Dataset explicitly

View source: R/lgb.Dataset.R

lgb.Dataset.constructR Documentation

Construct Dataset explicitly

Description

Construct Dataset explicitly

Usage

lgb.Dataset.construct(dataset)

Arguments

dataset

Object of class lgb.Dataset

Value

constructed dataset

Examples




data(agaricus.train, package = "lightgbm")
train <- agaricus.train
dtrain <- lgb.Dataset(train$data, label = train$label)
lgb.Dataset.construct(dtrain)


lightgbm documentation built on Sept. 11, 2024, 8:44 p.m.