Skip to content Skip to sidebar Skip to footer
Showing posts with the label Gensim

Passing Term-document Matrix To Gensim Lda Model

My term-document matrix is in a numpy matrix format, and I have a dictionary to represent the of t… Read more Passing Term-document Matrix To Gensim Lda Model

What Is The Best Way To Obtain The Optimal Number Of Topics For A Lda-model Using Gensim?

I am trying to obtain the optimal number of topics for an LDA-model within Gensim. One method I fou… Read more What Is The Best Way To Obtain The Optimal Number Of Topics For A Lda-model Using Gensim?

Gensim Phrases Usage To Filter N-grams

I am using Gensim Phrases to identify important n-grams in my text as follows. bigram = Phrases(doc… Read more Gensim Phrases Usage To Filter N-grams

Gensim Equivalent Of Training Steps

Does gensim Word2Vec have an option that is the equivalent of 'training steps' in the Tenso… Read more Gensim Equivalent Of Training Steps

Gensim.ldamulticore Throwing Exception:

I am running LDAMulticore from the python gensim library, and the script cannot seem to create more… Read more Gensim.ldamulticore Throwing Exception:

Word2vec Gensim Multiple Languages

This problem is going completely over my head. I am training a Word2Vec model using gensim. I have … Read more Word2vec Gensim Multiple Languages

Python Gensim Word2vec Vocabulary Key

I want to make word2vec with gensim. I heard that vocabulary corpus should be unicode so I converte… Read more Python Gensim Word2vec Vocabulary Key

Memory Efficient Lda Training Using Gensim Library

Today I just started writing an script which trains LDA models on large corpora (minimum 30M senten… Read more Memory Efficient Lda Training Using Gensim Library

Doc2vec Get Most Similar Documents

I am trying to build a document retrieval model that returns most documents ordered by their releva… Read more Doc2vec Get Most Similar Documents

Spark And Python Trying To Parse Wikipedia Using Gensim

Based on my previous question Spark and Python use custom file format/generator as input for RDD I … Read more Spark And Python Trying To Parse Wikipedia Using Gensim

Error In Extracting Phrases Using Gensim

I am trying to get the bigrams in the sentences using Phrases in Gensim as follows. from gensim.mod… Read more Error In Extracting Phrases Using Gensim

What Does Epochs Mean In Doc2vec And Train When I Have To Manually Run The Iteration?

I am trying to understand the epochs parameter in the Doc2Vec function and epochs parameter in the … Read more What Does Epochs Mean In Doc2vec And Train When I Have To Manually Run The Iteration?

Gensim Fasttext Cannot Get Latest Training Loss

Problem description It seems that the get_latest_training_loss function in fasttext returns only 0.… Read more Gensim Fasttext Cannot Get Latest Training Loss

Word2vec - Get Rank Of Similarity

Given I got a word2vec model (by gensim), I want to get the rank similarity between to words. For e… Read more Word2vec - Get Rank Of Similarity