Skip to content

Instantly share code, notes, and snippets.

@shayaf84
Created September 15, 2021 03:48
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save shayaf84/05a3be9bb7a5ee9341ac9dd497ecdb31 to your computer and use it in GitHub Desktop.
borderlineSMOTE = BorderlineSMOTE(k_neighbors = 10, random_state = 42)
X_train, y_train = borderlineSMOTE.fit_resample(X_train_Before,y_train_Before)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment