-
-
Save amankharwal/76f16916d31c097f230a8d4d5414406c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from imblearn.over_sampling import SMOTE | |
smote = SMOTE(random_state=1000) | |
x_, y_ = smote.fit_sample(x, y) | |
print(x_[y_==0].shape) | |
print(x_[y_==1].shape) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment