Skip to content

Instantly share code, notes, and snippets.


Pranjal-Soni/smote Secret

Created Oct 10, 2020
What would you like to do?
from imblearn.over_sampling import SMOTE
sm = SMOTE(random_state=0)
X_resampled, y_resampled = sm.fit_resample(X, y)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment