Skip to content

Instantly share code, notes, and snippets.

@AyishaR
Created January 14, 2021 15:56
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 AyishaR/7f01d16b4cfe5b9bc0a28a2a12858f84 to your computer and use it in GitHub Desktop.
Save AyishaR/7f01d16b4cfe5b9bc0a28a2a12858f84 to your computer and use it in GitHub Desktop.
std_scaler = StandardScaler()
Xtrain = std_scaler.fit_transform(Xtrain)
Xval = std_scaler.transform(Xval)
Xtest = std_scaler.transform(Xtest)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment