-
Notifications
You must be signed in to change notification settings - Fork 59
Open
Description
nodevectors/nodevectors/node2vec.py
Line 132 in e98df00
| size=self.n_components, |
This line refers to the old size parameter in gensim Word2Vec. It looks like the parameter was renamed to vector_size ref.
Getting this error:
129 # Train gensim word2vec model on random walks
--> 130 self.model = gensim.models.Word2Vec(
131 sentences=self.walks,
132 size=self.n_components,
133 **self.w2vparams)
134 if not self.keep_walks:
135 del self.walks
TypeError: __init__() got an unexpected keyword argument 'size'
When running with gensim==4.3.2
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels