I wants to optimize gensim to run doc2vec in Window7
[1] C compiler
I installed gensim by following this instruction: https://radimrehurek.com/gensim/install.html
pip install --upgrade gensim
However, in this page(https://radimrehurek.com/gensim/models/doc2vec.html), it is saying that C compiler is needed before installing gensim.
Make sure you have a C compiler before installing gensim, to use optimized (compiled) doc2vec training (70x speedup [blog]).
- Should I do something before using pip?
[2] BLAS
In the tutorial, https://github.com/RaRe-Technologies/gensim/blob/develop/docs/notebooks/doc2vec-lee.ipynb it is saying that
Time to Train
If the BLAS library is being used, this should take no more than 3 seconds. If the BLAS library is not being used, this should take no more than 2 minutes, so use BLAS if you value your time.
So it seems like I have to install BLAS for optimization, but I have no idea what BLAS is and there are little and complex BLAS installation guides for window.
- Which BLAS library should I install for running gensim in Window?
- If I install BLAS library, will it be automatically linked to python code when I am running gensim doc2vec? or should I do something to link it to doc2vec code?