[Scipy-tickets] [SciPy] #1582: APPCRASH error when trying to use Latent Semantic Indexing method with Gensim

SciPy Trac scipy-tickets@scipy....
Fri Jan 20 01:53:28 CST 2012


#1582: APPCRASH error when trying to use Latent Semantic Indexing method with
Gensim
--------------------+-------------------------------------------------------
 Reporter:  Shahab  |       Owner:  somebody
     Type:  defect  |      Status:  new     
 Priority:  high    |   Milestone:  0.11.0  
Component:  Other   |     Version:  0.10.0  
 Keywords:          |  
--------------------+-------------------------------------------------------

Comment(by inverseofverse):

 Hello folks,

 I am experiencing the same issue, and can share my data with you for a
 complete repro. You can find the two pickled files loaded by the python
 script below here:
 https://skydrive.live.com/redir.aspx?cid=464ea0b2bb666888&resid=464EA0B2BB666888!482&parid=464EA0B2BB666888!119&authkey=!AH8-ZnJWp2jqVQ4


     from gensim import corpora, models, similarities
     import logging
     logging.basicConfig(format='%(asctime)s : %(levelname)s :
 %(message)s', level=logging.INFO)

     dictionary =
 corpora.Dictionary.load(r'c:\temp\nycHotelsDictionary.pickle')
     corpus = corpora.MmCorpus(r"C:\temp\nycHotelsCorpus2.pickle")

     tfidf = models.TfidfModel(corpus)
     corpus_tfidf = tfidf[corpus]
     lsi = models.LsiModel(corpus_tfidf, id2word=dictionary, num_topics=10)

 I am getting a crash in the 1st phase of gensim's lsi model building. The
 last debug info message I see output is:  "INFO: 1st phase: constructing
 (160989, 110) action matrix".

 My environment:
 Windows 7 64 bit
 Python 2.7 32 bit
 SciPy version: 0.10.0
 NumPy version: 1.6.1

-- 
Ticket URL: <http://projects.scipy.org/scipy/ticket/1582#comment:5>
SciPy <http://www.scipy.org>
SciPy is open-source software for mathematics, science, and engineering.


More information about the Scipy-tickets mailing list