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
Doing a choice() on col_max == col_max.max() returns a True or False and not the index of the wanted column.
I replaced it with:
col_sel = rng.choice(np.where(col_max == col_max.max())[0])
The text was updated successfully, but these errors were encountered:
imbalanced-learn/imblearn/over_sampling/_smote.py
Line 1039 in f17107e
Doing a choice() on col_max == col_max.max() returns a True or False and not the index of the wanted column.
I replaced it with:
col_sel = rng.choice(np.where(col_max == col_max.max())[0])
The text was updated successfully, but these errors were encountered: