Skip to content

Convert posterior probability using logmath_exp. #21

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

joepestro
Copy link

This is based on the comment by @chinshr on
#18 (comment)

This conversion makes posterior_prob a usable confidence value between
0 and 1.

This is based on the comment by @chinshr on
watsonbox#18 (comment)
1506602

This conversion makes posterior_prob a usable confidence value between
0 and 1.
@watsonbox
Copy link
Owner

Thanks for this do you think you could also update the test suite?

@chinshr
Copy link

chinshr commented Jun 27, 2015

@joepestro thanks for taking the time to implement.

+1 on tests.

The normalized posterior_prob is now a usable value between 0 - 1.
@watsonbox
Copy link
Owner

On closer inspection, I noticed that the changes in this PR actually set the posterior_prob on the hypothesis to the linear float of the path_score. Surely the two log values should independently be converted since they are different things? See 9958a43.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants