Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from imblearn.over_sampling import SMOTE
- sm=SMOTE(ratio='auto', kind='regular')
- X_sampled,y_sampled=sm.fit_sample(X,y)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement