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
Actually if you call get_leaderboard() before you call automl each time, you can use use_holdout=True too. It appears to me that the bug is related to automl() popping the best model out of the models' list each time its called, so next time you call it the model is not there and you get an error unless you've called get_leaderboard() to recreate the models' list.
Note that these are all assumptions and I've not looked at the code.
pycaret version checks
I have checked that this issue has not already been reported here.
I have confirmed this bug exists on the latest version of pycaret.
I have confirmed this bug exists on the master branch of pycaret (pip install -U git+https://github.com/pycaret/pycaret.git@master).
Issue Description
automl function returning error when using
use_holdout=True
argument.Reproducible Example
Expected Behavior
show the best model.
Actual Results
Installed Versions
PyCaret required dependencies:
pip: 22.2.2
setuptools: 60.10.0
pycaret: 3.0.0.rc3
IPython: 8.4.0
ipywidgets: 8.0.1
tqdm: 4.64.0
numpy: 1.21.6
pandas: 1.4.3
jinja2: 3.1.2
scipy: 1.8.1
joblib: 1.1.0
sklearn: 1.1.2
pyod: Installed but version unavailable
imblearn: 0.9.1
category_encoders: 2.5.0
lightgbm: 3.3.2
numba: 0.55.2
requests: 2.28.1
matplotlib: 3.6.0rc2
scikitplot: 0.3.7
yellowbrick: 1.5
plotly: 5.10.0
kaleido: 0.2.1
statsmodels: 0.13.2
sktime: 0.11.4
tbats: Installed but version unavailable
pmdarima: 2.0.1
psutil: 5.9.1
The text was updated successfully, but these errors were encountered: