smote_variants
smote_variants copied to clipboard
provided out is the wrong size for the reduction
Hello,
When i am trying to use smote on text data then it gives me an error provided out is the wrong size for the reduction. Could you please help me out ?
2021-07-26 12:17:30,170:INFO:MulticlassOversampling: Running multiclass oversampling with strategy eq_1_vs_many_successive
ValueError Traceback (most recent call last)
6 frames <array_function internals> in cumsum(*args, **kwargs)
/usr/local/lib/python3.7/dist-packages/numpy/core/fromnumeric.py in _wrapfunc(obj, method, *args, **kwds) 56 57 try: ---> 58 return bound(*args, **kwds) 59 except TypeError: 60 # A TypeError occurs if the object does have such a method in its
ValueError: provided out is the wrong size for the reduction