Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ArslanKAS opened this issue Oct 30, 2023 · 1 comment
Open

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

ArslanKAS opened this issue Oct 30, 2023 · 1 comment

Comments

@ArslanKAS
Copy link

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?

  • I can use other estimators if I exclude 'lgb'. That works fine
  • I tried installing both flaml[automl] and flaml[notebook] but the problem remains
  • Tried updating the library but still no luck
  • Though I'm not stuck at this point because I'm able to use other estimators but just wanted to point out the issue
@thinkall
Copy link
Collaborator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants