Skip to content

Instantly share code, notes, and snippets.

@a-agmon
Created June 30, 2020 19:30
Show Gist options
  • Save a-agmon/2950eb8db2579cc1d2fb33207e04cef0 to your computer and use it in GitHub Desktop.
Save a-agmon/2950eb8db2579cc1d2fb33207e04cef0 to your computer and use it in GitHub Desktop.
#get the MSE or loss error term
predictions = autoencoder.predict(vec_seqs)
mse = np.mean(np.power(vec_seqs - predictions, 2), axis=1)
sequences['MSE'] = mse
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment