Re: [Tutor] gensim to generate document vectors

2015-08-17 Thread Danny Yoo
Followup: If we want to get at the document vectors after training, I think that, from reading the code here: https://github.com/piskvorky/gensim/blob/develop/gensim/models/doc2vec.py#L254 that you want to get at the model's 'docvecs' attribute. We know it's a DocvecArray because it is as

Re: [Tutor] gensim to generate document vectors

2015-08-17 Thread Danny Yoo
>> I'm getting the vocab fine with my code but I can't seem to figure out how >> to print out the individual sentence vectors, I have looked through the >> documentation and haven't found much help. Here is what my code looks like >> so far. It appears that you're asking this question on Stack Ove

Re: [Tutor] gensim to generate document vectors

2015-08-17 Thread Alan Gauld
On 17/08/15 18:50, Joshua Valdez wrote: Okay, so I'm trying to use Doc2Vec to simply read in a a file that is a list of sentences like this: This list us for folks learning the core Pyhton lanmguage and the standard library. Doc2Vec is not part of that library so you might find you get more r

[Tutor] gensim to generate document vectors

2015-08-17 Thread Joshua Valdez
Okay, so I'm trying to use Doc2Vec to simply read in a a file that is a list of sentences like this: # The elephant flaps its large ears to cool the blood in them and its body. A house is a permanent building or structure for people or families to live in. # What I want to do is generate t