From 765d16c88bf7658f1d4900f633f5df05af5de6d0 Mon Sep 17 00:00:00 2001 From: Rutu Mulkar-Mehta Date: Wed, 17 Jun 2015 12:00:32 -0700 Subject: [PATCH] clean up code --- gensim/models/word2vec.py | 1 - 1 file changed, 1 deletion(-) diff --git a/gensim/models/word2vec.py b/gensim/models/word2vec.py index d7928df132..61a9ab645b 100755 --- a/gensim/models/word2vec.py +++ b/gensim/models/word2vec.py @@ -164,7 +164,6 @@ def train_sentence_cbow(model, sentence, alpha, work=None, neu1=None): def train_sg_pair(model, word, word2, alpha, labels, train_w1=True, train_w2=True): l1 = model.syn0[word2.index] neu1e = zeros(l1.shape) - # print str(word.index)+ " - "+ str(word2.index) if model.hs: # work on the entire tree at once, to push as much work into numpy's C routines as possible (performance) l2a = deepcopy(model.syn1[word.point]) # 2d matrix, codelen x layer1_size