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 Oct. 10, 2022, 5:07 p.m.