microsoft / FLAML

A fast library for AutoML and tuning. Join our Discord: https://discord.gg/Cppx2vSPVP.
https://microsoft.github.io/FLAML/
MIT License
3.87k stars 504 forks source link

lgb is not a built-in learner for this task type | NoneType error #1251

Open ArslanKAS opened 11 months ago

ArslanKAS commented 11 months ago

Detail: I've previously used "lgb" for classification and it worked but now it doesn't seem to work for classification tasks. And if I remove the estimator_list from the automl_settings then I get a NoneType error which doesn't go away even after using the pip install flaml[automl] command as suggested by one of the answers in the issues.

Error 1: When using only LGBM image

Error 2: When not defining any specific estimator image

What I've tried?

thinkall commented 11 months ago

Hi @ArslanKAS , there is an estimator named lgbm, i.e., lightgbm. No estimator named lgb.

For the NonType Error, could you share the complete code for reproducing? Thanks.