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
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.
The text was updated successfully, but these errors were encountered:
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.
Calling
lightgbm()
will always end up throwing an error if I pass a matrix with named columns and pass column names forcategorical_feature
: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.
The text was updated successfully, but these errors were encountered: