You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 16, 2021. It is now read-only.
The docs say (and what I would have expected from my textbook reading elsewhere) that we "compute the probability that each input belongs to a given class", but the actual code seems to just predict the most likely class (marked as 1. in the result matrix). Shouldn't we get the probabilities for each class, or am I missing something?
The text was updated successfully, but these errors were encountered:
I say might as your point is still relevant. I chose to have predict return the class labels and hid the probabilities in a separate function. I believe that get_log_probs essentially does the same thing as predict but without getting the labels.
Ha! No, it's really valuable to be made aware of these things.
It is also an option to change the api - we have some breaking changes pending right now. If you want to suggest an update now is a good time. Otherwise I'm happy to try and update the docs (I'd appreciate you reading it over if I do though!)
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The docs say (and what I would have expected from my textbook reading elsewhere) that we "compute the probability that each input belongs to a given class", but the actual code seems to just predict the most likely class (marked as 1. in the result matrix). Shouldn't we get the probabilities for each class, or am I missing something?
The text was updated successfully, but these errors were encountered: