Skip to content

Conversation

tdomhan
Copy link

@tdomhan tdomhan commented May 10, 2016

…re it's passed the the ttable.

beam_threshold is the a threshold in log space (indicated by it's default value of -4.0). It used to be directly passed like this to ExportToFile, which then internally got multiplied with max_p (a probability NOT in log space) to get the threshold. This threshold was then used to be compare to log probabilities. This led to everything being pruned if max_p < 0.3 (e.g. if max_p=0.2 then threshold=0.2*-4=-0.8 which leads to log(max_p) < threshold). Anyway, I changed this to directly pass a probability to ExportToFile, so that probabilities are compare to probabilities.

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.

1 participant