Skip to content

Instantly share code, notes, and snippets.

@Vsanku01
Last active May 30, 2020 18:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Vsanku01/b4b02ab72084d9f8b994c73aa23f0c15 to your computer and use it in GitHub Desktop.
Save Vsanku01/b4b02ab72084d9f8b994c73aa23f0c15 to your computer and use it in GitHub Desktop.
Plot Losses
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