microsoft / FLAML

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

'NoneType' object has no attribute 'predict_proba' #296

Closed hadisotudeh closed 2 years ago

hadisotudeh commented 2 years ago

Hi,

Today, I faced the following issue: image image

I am using "pip install git+https://github.com/microsoft/FLAML.git" to install the library.

P.S. it also did not let me to use catboost, as it seems it was not installed!

sonichi commented 2 years ago

Could you set verbose to 3 and see if any model has been trained? The default time budget is 60s and if the preprocessing takes longer than that, no model will be trained. If that's the case, increase the time budget. To use catboost, install flaml with the option [catboost]. pip install git+https://github.com/microsoft/FLAML.git#egg=flaml[catboost]

hadisotudeh commented 2 years ago

That is correct and it seems to be because of "time_budget". Maybe, this point can be added to the documentation.