Created
August 17, 2020 13:25
-
-
Save risenW/78a739582f89193aa8d6c58b2d0e05a6 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
// Standardize the data with MinMaxScaler | |
let scaler = new dfd.MinMaxScaler() | |
scaler.fit(Xtrain) | |
Xtrain = scaler.transform(Xtrain) | |
return [Xtrain.tensor, ytrain.tensor] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment