Created
April 2, 2018 15:39
-
-
Save andreaschandra/409d4db356fb7b21b0eb78a2ca9630f0 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
data_scaler_minmax = preprocessing.MinMaxScaler(feature_range=(0, 1)) | |
data_scaled_minmax = data_scaler_minmax.fit_transform(input) | |
data_scaled_minmax | |
output: | |
array([[ 0.8, 0. , 0.4], | |
[ 0. , 1. , 0. ], | |
[ 1. , 0. , 1. ]]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment