jdwilson4 / multi-node2vec

This is Python source code for the multi-node2vec algorithm for fast embedding of multilayer networks
36 stars 14 forks source link

Error while running the codes #1

Open svish91 opened 1 year ago

svish91 commented 1 year ago
 line 45, in generate_features
    w2v_model = w2v.Word2Vec(nbrhds, size=d, window=nbrhd_size, min_count=0,
TypeError: Word2Vec.__init__() got an unexpected keyword argument 'size'

The example code is not working.

Davi-Schumacher commented 1 year ago

I think the versions can be specified better, I can open a PR later to address it. In the meantime try a Python=3.6 environment with the following versioned packages:

svish91 commented 1 year ago

Great, thanks for sharing this.