curso-r/treesnip

Warning with new lightgbm

Closed this issue · 2 comments

predict.lgb.Booster: Found the following passed through '...': predict_disable_shape_check. These will be used, but in future 
releases of lightgbm, this warning will become an error. Add these to 'params' instead. See ?predict.lgb.Booster for 
documentation on how to call this function.

@dfalbel

I found the cause of the problem.
The error can be removed by removing "feature_pre_filter = FALSE" from line 274 of lightgbm.R.
I've submitted a pull request, but I'm not sure if there will be an update to treesnip in the near future.