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

Bugfix: pass through vocab/encoding params #60

Merged
merged 1 commit into from
May 25, 2021

Conversation

eihli
Copy link
Contributor

@eihli eihli commented Dec 28, 2020

This appears to be a typo. I think the correct behavior is that GoodTuring should take into account a vocab and encoding if given.

Side note: How do you run the tests in this repo?

I tried evaluating tests/test_ngram.py in a REPL but got an error about attempted relative import with no known parent package. I tried running python -m unittest but got a ModuleNotFoundError: No module named 'librosa.core.time_frequency'. I resorted to python -c 'from numpy_ml.tests import test_ngram; test_ngram.some_test(). Noting that there's not a test for GoodTuring yet.

This appears to be a typo. I think the correct behavior is that GoodTuring should take into account a vocab and encoding if given.
@ddbourgin ddbourgin added the bug Something isn't working label Mar 5, 2021
@ddbourgin ddbourgin merged commit 9ef025f into ddbourgin:master May 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants