Skip to content

Gensim #
Find similar titles

You are seeing an old version of the page. Go to latest version

Installation #

Testing whether the fast version is installed:

>>> from gensim.models import word2vec
>>> assert word2vec.FAST_VERSION > -1

word2vec #

Let V as the size of the vocabulary and N as the dimension of the hidden layer (vector dimension).

  • model.syn0: \( V \times N \) matrix. model.syn0[wordindex] returns the word vector.

doc2vec #

0.0.1_20140628_0