Skip to content

Instantly share code, notes, and snippets.

@Alakhator
Created March 24, 2020 19:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Alakhator/62fe57be04934a13e2b16994fbd7c80f to your computer and use it in GitHub Desktop.
Save Alakhator/62fe57be04934a13e2b16994fbd7c80f to your computer and use it in GitHub Desktop.
from sklearn.preprocessing import StandardScaler
sc_X = StandardScaler()
sc_y = StandardScaler()
X = sc_X.fit_transform(X)
y = sc_y.fit_transform(y)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment