Skip to content

Convert posterior probability using logmath_exp.#21

Open
joepestro wants to merge 2 commits intowatsonbox:masterfrom
joepestro:logarithmic-confidence
Open

Convert posterior probability using logmath_exp.#21
joepestro wants to merge 2 commits intowatsonbox:masterfrom
joepestro:logarithmic-confidence

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