R: Construct Dataset explicitly

lgb.Dataset.construct {lightgbm} | R 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)

[Package lightgbm version 3.1.0 Index]