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
With pycaret installed in a conda environment (cannot directly use pip due to old machine), I experience much longer training times (in compare_models()) when going from v2.3.10 to v3.3.0. This seems to be amplified when using polynomial features.
I note that there are some convergence warnings appearing in v.2.3.10. Could it be that convergence is handled in a different way in v3.3.0? Seems also that when increasing the polynomial degree, TheilSen Regressor is by far the slowest of the regressors (see TT) in v3.3.0.
I could in practice exclude the TheilSen Regressor for my real-world data, but the training time is still around 10 times much longer with v3.3.0 than with v2.3.10.
PyCaret optional dependencies:
shap: Not installed
interpret: Not installed
umap: Not installed
ydata_profiling: Not installed
explainerdashboard: Not installed
autoviz: Not installed
fairlearn: Not installed
deepchecks: Not installed
xgboost: Not installed
catboost: Not installed
kmodes: Not installed
mlxtend: Not installed
statsforecast: Not installed
tune_sklearn: Not installed
ray: Not installed
hyperopt: Not installed
optuna: Not installed
skopt: Not installed
mlflow: Not installed
gradio: Not installed
fastapi: Not installed
uvicorn: Not installed
m2cgen: Not installed
evidently: Not installed
fugue: Not installed
streamlit: Not installed
prophet: Not installed
The text was updated successfully, but these errors were encountered:
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
With pycaret installed in a conda environment (cannot directly use pip due to old machine), I experience much longer training times (in
compare_models()
) when going from v2.3.10 to v3.3.0. This seems to be amplified when using polynomial features.v2.3.10, polynomial_degree=1: 22sec
v2.3.10, polynomial_degree=3: 13sec
v3.3.0, polynomial_degree=1: 25sec
v3.3.0, polynomial_degree=3: 308sec
I note that there are some convergence warnings appearing in v.2.3.10. Could it be that convergence is handled in a different way in v3.3.0? Seems also that when increasing the polynomial degree, TheilSen Regressor is by far the slowest of the regressors (see TT) in v3.3.0.
I could in practice exclude the TheilSen Regressor for my real-world data, but the training time is still around 10 times much longer with v3.3.0 than with v2.3.10.
The steps I followed to install v2.3.10 were:
The steps I followed to install v3.3.0 were:
I had to manual install joblib (#3959) and lightbgm (#3897)
Reproducible Example
Expected Behavior
The function
compare_models
is expected to have comparable execution times for v2.3.10 and v3.3.0Actual Results
Installed Versions
v2.3.10
v3.3.0
PyCaret required dependencies:
pip: 23.3.1
setuptools: 68.2.2
pycaret: 3.3.0
IPython: 8.23.0
ipywidgets: 8.1.2
tqdm: 4.66.2
numpy: 1.26.4
pandas: 2.1.4
jinja2: 3.1.3
scipy: 1.11.4
joblib: 1.3.0
sklearn: 1.4.2
pyod: 1.1.3
imblearn: 0.12.2
category_encoders: 2.6.3
lightgbm: 3.3.5
numba: 0.59.1
requests: 2.31.0
matplotlib: 3.7.5
scikitplot: 0.3.7
yellowbrick: 1.5
plotly: 5.20.0
plotly-resampler: Not installed
kaleido: 0.2.1
schemdraw: 0.15
statsmodels: 0.14.1
sktime: 0.28.0
tbats: 1.1.3
pmdarima: 2.0.4
psutil: 5.9.8
markupsafe: 2.1.5
pickle5: Not installed
cloudpickle: 3.0.0
deprecation: 2.1.0
xxhash: 3.4.1
wurlitzer: 3.0.3
PyCaret optional dependencies:
shap: Not installed
interpret: Not installed
umap: Not installed
ydata_profiling: Not installed
explainerdashboard: Not installed
autoviz: Not installed
fairlearn: Not installed
deepchecks: Not installed
xgboost: Not installed
catboost: Not installed
kmodes: Not installed
mlxtend: Not installed
statsforecast: Not installed
tune_sklearn: Not installed
ray: Not installed
hyperopt: Not installed
optuna: Not installed
skopt: Not installed
mlflow: Not installed
gradio: Not installed
fastapi: Not installed
uvicorn: Not installed
m2cgen: Not installed
evidently: Not installed
fugue: Not installed
streamlit: Not installed
prophet: Not installed
The text was updated successfully, but these errors were encountered: