You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[R-package] Cannot pass named categorical features to lightgbm()Â #6000
Error in data$set_categorical_feature(categorical_feature) :
set_categorical_feature: cannot set categorical feature after freeing raw data,
please set ‘free_raw_data = FALSE’ when you construct lgb.Dataset
Calling lgb.Dataset beforehand doesn't result in the same error.
This is with the 4.0.0 version in the release tag that says it's for CRAN.
This issue has been automatically locked since there has not been any recent activity since it was closed. To start a new related discussion, open a new issue at https://github.com/microsoft/LightGBM/issues including a reference to this.
Activity
[R-package] Fix error when passing categorical features to lightgbm() (…
github-actions commentedon Nov 8, 2023
This issue has been automatically locked since there has not been any recent activity since it was closed. To start a new related discussion, open a new issue at https://github.com/microsoft/LightGBM/issues including a reference to this.