wmd
wmd copied to clipboard
Word Mover's Distance from Matthew J Kusner's paper "From Word Embeddings to Document Distances"
Has anyone (at least partially) evaluated the quality of outputs compared to Sørensen–Dice coefficient? Please share your findings (ideally from production :wink:), thanks!
Why is that I keep getting "`ImportError: No module named _emd`" error from emd.py? I use python 2.7. May I ask what is '_emd' ? I assume it's not the...
emd: Unexpected error in findBasicVariables!This typically happens when the EPSILON defined in emd.h is not right for the scale of the problem.
@mkusner I read your paper and want to use your WCD+RWMD method to calculate docs similarity in my doc recommendation project. I found the code for RWMD in matlab, but...
Thank you for your implementation of your paper. First, I tried with your code and data. It worked well. (all_twitter_by_line.txt) Second, I tried 20newsgroup data which was in your paperwork....
I was wondering if matlab is required to run/edit the code ?
swig is required, but not mentioned. in emd.h, the include of Python.h has a ; that should be removed
root@user-virtual-machine:/home/user/WMD# python wmd.py asd.pk asdwmd.pk [pool :] 0 out of 3 1 out of 3 emd: Signature size is limited to 100 2 out of 3 emd: Signature size is...
simply swapping out the python2 include paths for the python3 ones is enough. the library can be imported and works in the python 3 interpreter.
mac os high sierra 10.13 install error >>> Building object file 'emd.o'. -n cc -o emd.o -c emd.c -fPIC -I/usr/local/Cellar/python/2.7.12_2/Frameworks/Python.framework/Versions/2.7/include/python2.7 -I/usr/local/Cellar/python/2.7.12_2/Frameworks/Python.framework/Versions/2.7/include/python2.7 In file included from emd.c:20: ./emd.h:22:9: warning: 'INFINITY' macro...