glove-python
glove-python copied to clipboard
metrics is not in top-level module namespace
examples/analogy_tasks_evaluation.py only works if metrics is in the top level module namespace, as in from glove import Glove, metrics. At least in my most recent pip installed version, metrics is not in the module's exported namespace.
I'm running Python 2.7.6 on Ubuntu.
Thanks for the report. Do you want to try a PR that would fix it?
It's in PR #46 and I've tested it by pip installing from my forked repo.