Created
April 18, 2021 18:20
-
-
Save AyishaR/286e1115c833dfca2175a1ed41a387dd 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
ss_scaler = StandardScaler() | |
# Fit on training set alone | |
Xtrain = ss_scaler.fit_transform(Xtrain) | |
# Use it to transform val and test input | |
Xval = ss_scaler.transform(Xval) | |
Xtest = ss_scaler.transform(Xtest) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment