-
-
Save Pranjal-Soni/c61cabe0165283c33393a071b272c400 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.under_sampling import RandomUnderSampler | |
rus = RandomUnderSampler(random_state=0) | |
X_resampled, y_resampled = rus.fit_resample(X, y) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment