Skip to content

Instantly share code, notes, and snippets.


Pranjal-Soni/oversampling Secret

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