Skip to content

Instantly share code, notes, and snippets.

@arjay55
Created August 24, 2019 14:23
Show Gist options
  • Save arjay55/d02f7046b717d797d74f7d9ff6edc90b to your computer and use it in GitHub Desktop.
Save arjay55/d02f7046b717d797d74f7d9ff6edc90b to your computer and use it in GitHub Desktop.
multistep_compare
for _, test in test_data:
predictions = model.predict(tf.boolean_mask(
reshape_sample, boolmask, axis=1))
y_pred.append(predictions[0][0])
y_true.append(test[0][0])
reshape_sample = np.roll(reshape_sample, -1, axis=1)
reshape_sample[0][-1] = predictions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment