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
{{ message }}
This repository has been archived by the owner on Jul 13, 2023. It is now read-only.
Why only two of these categories have been sample balanced?
from imblearn.over_sampling import BorderlineSMOTE
nn_k = NearestNeighbors(n_neighbors=29)
bsmote = BorderlineSMOTE(random_state=42,k_neighbors=nn_k)
X_train_smote,y_train_smote = bsmote.fit_resample(X_train,y_train)
print(sorted(Counter(y_train_smote).items()))
result:[(0, 136), (1, 136), (2, 3)]
The text was updated successfully, but these errors were encountered: