Created
May 30, 2020 17:00
-
-
Save Vsanku01/26e209634e6f69f09170dff719df11a5 to your computer and use it in GitHub Desktop.
Scaling the values
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
scaler = MinMaxScaler() | |
scaler.fit(train) | |
MinMaxScaler(copy=True, feature_range=(0, 1)) | |
scaled_train = scaler.transform(train) | |
scaled_test = scaler.transform(test) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment