Last active
May 30, 2020 18:18
-
-
Save Vsanku01/b4b02ab72084d9f8b994c73aa23f0c15 to your computer and use it in GitHub Desktop.
Plot Losses
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
first_eval_batch = scaled_train[-length:] # Take the last 50 points and predict the new value in the scaled_test | |
first_eval_batch = first_eval_batch.reshape((1,length,n_features)) # shape the data to match the input_shape of model | |
model.predict(first_eval_batch)# array([[0.92780817]], dtype=float32) | |
scaled_test[0] # array([0.94955134]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment