Open chamsdg opened 4 years ago
@chamsdg Please provide complete traceback message. Environment you are using, sample code and dataset if possible.
@pycaret i work in windows using jypyterLab my code is bellow:
from pycaret.classification import * train = setup(data, target = 'Exited', train_size = 0.8, fix_imbalance = True, fix_imbalance_method = None, session_id = 123, log_experiment = True, experiment_name="churn")
when i want to compare the performance
best_model = compare_models()
i get this error
`KeyError Traceback (most recent call last)
@chamsdg Can you please submit logs.log file that is generated in your local directory. This will help me troubleshoot.
Can you try creating a conda environment and see if the error goes away? You can follow instructions on https://www.pycaret.org/install if you want.
hello, any help please
I'm having the same error message KeyError: 'Only the Series name can be used for the key in Series dtype mappings.'
Any updates on this yet? Appreciates it in advance.
Based on below link, it looks like SMOTE has to take in dataframe as a matrix https://datascience.stackexchange.com/questions/66302/resampling-with-python-smote
@chamsdg Can you please share the dataset here? I have looked at logs and it seems like it's failing when SMOTE is initialized however I don't see anything funny with the setup
so I need dataset to reproduce this issue at my end.
Also can you please share the version of imblearn
by doing pip freeze
.
Thanks
thank you
Stale issue message: This issue will be automatically closed by GitHub Actions in 1 week if there is no further activity.
hello when i applies fix_imbalance = True for my dataset churn
and i do model = compare_models() i get the below error
KeyError: 'Only the Series name can be used for the key in Series dtype mappings.'
somebody can help me