Y-oHr-N / OptGBM

Optuna + LightGBM = OptGBM
MIT License
34 stars 7 forks source link

LightGBMError: Cannot construct Dataset since there are no useful features #11

Closed Y-oHr-N closed 4 years ago

Y-oHr-N commented 5 years ago

lightgbm.basic.LightGBMError: Cannot construct Dataset since there are no useful features. It should be at least two unique rows. If the num_row (num_data) is small, you can set min_data=1 and min_data_in_bin=1 to fix this. Otherwise, please make sure you are using the right dataset

Versions

LightGBM: 2.2.1