Hi,
I have been running LightGBM 2.3.1 in R (version 3.5) for the past few months in a linux environment with no issues. My colleague has installed the package in the past few days, however when running the example code provided on the git page, they experience an error (whereas it works on my install):
Error message
Error in data.table::data.table(indices = test_indices, weight = getinfo(data, : column or argument 2 is NULL
Reproducible Code
data(agaricus.train, package='lightgbm')
train <- agaricus.train
dtrain <- lgb.Dataset(train$data, label=train$label)
params <- list(objective="regression", metric="l2")
model <- lgb.cv(params, dtrain, 10, nfold=5, min_data=1, learning_rate=1,
early_stopping_rounds=10)
Appreciate any help with this!
Hi,
I have been running LightGBM 2.3.1 in R (version 3.5) for the past few months in a linux environment with no issues. My colleague has installed the package in the past few days, however when running the example code provided on the git page, they experience an error (whereas it works on my install):
Error message
Error in data.table::data.table(indices = test_indices, weight = getinfo(data, : column or argument 2 is NULLReproducible Code
Appreciate any help with this!