Skip to content

Commit

Permalink
upd outdated usage
Browse files Browse the repository at this point in the history
  • Loading branch information
gojomo committed Jan 8, 2020
1 parent 8e6bbee commit e483053
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gensim/test/test_keras_integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def testWord2VecTraining(self):
"""
model = self.model_cos_sim
self.assertTrue(model.wv.vectors.shape == (len(model.wv.vocab), 100))
self.assertTrue(model.trainables.syn1.shape == (len(model.wv.vocab), 100))
self.assertTrue(model.syn1.shape == (len(model.wv.vocab), 100))
sims = model.wv.most_similar('graph', topn=10)
# self.assertTrue(sims[0][0] == 'trees', sims) # most similar

Expand Down

0 comments on commit e483053

Please sign in to comment.