Category "gensim"

What is the data type of X in pca.fit_transform(X)?

I got a word2vec model abuse_model trained by Gensim. I want to apply PCA and make a plot on CERTAIN words that I only care about (vs. all words in the model).

Automatic calculate Recall/ Precision to Word2vec model

i am doing synonym-detection based on word2vec models with gensim. What possibilities are for automatic calculate of recall and precision. I just want some metr

AttributeError: 'Doc2Vec' object has no attribute 'dv'

I am trying a Lbl2Vec approach unsupervised text classification since I am using already given code to test but it still is not working. It is giving me attribu

How to use gensim BM25 ranking in python

I found gensim has BM25 ranking function. However, i cannot find the tutorial how to use it. In my case, I had one query. a few documents which were retrieve

How to load a pre-trained Word2vec MODEL File and reuse it?

I want to use a pre-trained word2vec model, but I don't know how to load it in python. This file is a MODEL file (703 MB). It can be downloaded here:http://dev

top terms in corpus gensim

I am using python package Gensim for clustering, I first created a dictionary from tokenizing and lemmatizing sentences of the given text and then using this di

Ensure the gensim generate the same Word2Vec model for different runs on the same data

In LDA model generates different topics everytime i train on the same corpus , by setting the np.random.seed(0), the LDA model will always be initialized and tr

gensim error : no module named gensim

I trying to import gensim. I have the following code import gensim model = gensim.models.Word2Vec.load_word2vec_format('./model/GoogleNews- vectors-negative