Closed ThomasWolf0701 closed 4 years ago
I ran the example code from you GitHub page and after trying to train the classifier:
learner$train(task, row_ids = 1:120)
I got the following error message:
Error in lightgbm::lgb.prepare(data) : lgb.prepare() was removed in LightGBM 3.0.0. Please use lgb.convert_with_rules()
This seems to be the problem:
data = lightgbm::lgb.prepare(data)
Replacing with data = lightgbm::lgb.convert_with_rules(data) should fix this ?
https://github.com/mlr3learners/mlr3learners.lightgbm/pull/9
fixed with https://github.com/mlr3learners/mlr3learners.lightgbm/commit/0d4dc329bffe057debebb8a1e684164ed291aa67
I ran the example code from you GitHub page and after trying to train the classifier:
learner$train(task, row_ids = 1:120)
I got the following error message:
Error in lightgbm::lgb.prepare(data) : lgb.prepare() was removed in LightGBM 3.0.0. Please use lgb.convert_with_rules()