Skip to content
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

Entropy is nan when a vocabulary larger than 2 million words is used. #24

Open
mpatsis opened this issue Jun 1, 2016 · 0 comments
Open

Comments

@mpatsis
Copy link

mpatsis commented Jun 1, 2016

Hi,
When I am using a vocabulary that is larger than 2 million words (e.g., 2.2 million) the validation entropy is always nan.
However, on the exact same data if I use a slightly smaller vocabulary (1937725 words) then entropy is calculated normally. The vocabulary is being limited by rare words from the vocabulary file.

Best regards,
Rafael

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

No branches or pull requests

1 participant