Created
September 16, 2022 17:57
-
-
Save under0tech/9007787c0d2fbabcff88c4c16e4b9947 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
# Scale data for ML engine | |
scaler = MinMaxScaler() | |
init_df['close'] = scaler.fit_transform(np.expand_dims(init_df['close'].values, axis=1)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment