To run the experiments, please
pip3 install dynet
pip3 install scipy
pip3 install sklearn
pip3 install gensim
python3 main.py
Tested with the following versions of everything:
$ python3
Python 3.7.1 (default, Nov 6 2018, 18:45:35)
[Clang 10.0.0 (clang-1000.11.45.5)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import numpy
>>> import scipy
>>> import sklearn
>>> import gensim
>>> import dynet
[dynet] random seed: 853045597
[dynet] allocating memory: 512MB
[dynet] memory allocation done.
>>> numpy.__version__
'1.15.4'
>>> scipy.__version__
'1.1.0'
>>> sklearn.__version__
'0.20.1'
>>> gensim.__version__
'3.6.0'
>>> dynet.__version__
'2.0.3'