Skip to content

Instantly share code, notes, and snippets.

@eustin
Created June 8, 2020 04:01
Show Gist options
  • Save eustin/df996f194146c693311ec72469c09932 to your computer and use it in GitHub Desktop.
Save eustin/df996f194146c693311ec72469c09932 to your computer and use it in GitHub Desktop.
sum(true_prob_dist * np.log(true_prob_dist / predicted_prob_dist))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment