SMOTE is giving array size / ValueError for all-categorical dataset
问题 I am using SMOTE-NC for oversampling my categorical data. I have only 1 feature and 10500 samples. While running the below code, I am getting the error: --------------------------------------------------------------------------- ValueError Traceback (most recent call last) <ipython-input-151-a261c423a6d8> in <module>() 16 print(X_new.shape) # (10500, 1) 17 print(X_new) ---> 18 sm.fit_sample(X_new, Y_new) ~\AppData\Local\Continuum\Miniconda3\envs\data-science\lib\site-packages\imblearn\base.py