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
PyCaret optional dependencies:
shap: 0.44.1
interpret: 0.5.1
umap: 0.5.5
ydata_profiling: 4.6.4
explainerdashboard: 0.4.5
autoviz: Not installed
fairlearn: 0.7.0
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
To use SMOTENC to fix imbalance, one has to provide the list of categorical features. But PyCaret does not seem to understand :
Invalid value for the strategy parameter, got smotenc(categorical_features=[1,3,4,5,6,9]). Choose from: condensednearestneighbour, editednearestneighborus, repeatededitednearestneighbours, allknn, instancehardnessthreshold, nearmiss, neighbourhoodcleaningrule, onesidedselection, randomundersampler, tomeklinks, randomoversampler, smote, smotenc, smoten, adasyn, borderlinesmote, kmeanssmote, svmsmote, smoteenn, smotetomek.
Reproducible Example
Expected Behavior
I would expect SMOTENC to be applied to the data to have additional points from the minority class.
Actual Results
Installed Versions
System:
python: 3.10.0 (tags/v3.10.0:b494f59, Oct 4 2021, 19:00:18) [MSC v.1929 64 bit (AMD64)]
executable: c:\Users\ChristineCutting\AppData\Local\Programs\Python\Python310\python.exe
machine: Windows-10-10.0.22631-SP0
PyCaret required dependencies:
pip: 24.0
setuptools: 57.4.0
pycaret: 3.2.0
IPython: 8.21.0
ipywidgets: 8.1.2
tqdm: 4.66.2
numpy: 1.25.2
pandas: 1.5.3
jinja2: 3.1.3
scipy: 1.10.1
joblib: 1.3.2
sklearn: 1.2.2
pyod: 1.1.3
imblearn: 0.12.0
category_encoders: 2.6.3
lightgbm: 4.3.0
numba: 0.58.1
requests: 2.31.0
matplotlib: 3.6.0
scikitplot: 0.3.7
yellowbrick: 1.5
plotly: 5.19.0
plotly-resampler: Not installed
kaleido: 0.2.1
schemdraw: 0.15
statsmodels: 0.14.1
sktime: 0.21.1
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: Not installed
PyCaret optional dependencies:
shap: 0.44.1
interpret: 0.5.1
umap: 0.5.5
ydata_profiling: 4.6.4
explainerdashboard: 0.4.5
autoviz: Not installed
fairlearn: 0.7.0
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: