Closed kapsner closed 4 years ago
Need to extract weight col from task$data() and pass it to lgb.Dataset
https://github.com/mlr3learners/mlr3learners.lightgbm/blob/development/R/LearnerClassifLightGBM.R#L668
task$weights$weight already returns a vector with class weights - noting to be changed.
Need to extract weight col from task$data() and pass it to lgb.Dataset
https://github.com/mlr3learners/mlr3learners.lightgbm/blob/development/R/LearnerClassifLightGBM.R#L668