benedekrozemberczki / karateclub

Karate Club: An API Oriented Open-source Python Framework for Unsupervised Learning on Graphs (CIKM 2020)
https://karateclub.readthedocs.io
GNU General Public License v3.0
2.17k stars 247 forks source link

Get error when running tutorial code. #68

Closed wanglu2014 closed 3 years ago

wanglu2014 commented 3 years ago

from karateclub.dataset import GraphReader

reader = GraphReader("twitch")

graph = reader.get_graph() y = reader.get_target() from karateclub import Diff2Vec

model = Diff2Vec(diffusion_number=2, diffusion_cover=20, dimensions=16) model.fit(graph) X = model.get_embedding()

Error is TypeError: init() got an unexpected keyword argument 'iter'

in 图片

benedekrozemberczki commented 3 years ago

What is your gensim version?

On Mon, 26 Apr 2021 at 16:24, wanglu2014 @.***> wrote:

from karateclub.dataset import GraphReader

reader = GraphReader("twitch")

graph = reader.get_graph() y = reader.get_target() from karateclub import Diff2Vec

model = Diff2Vec(diffusion_number=2, diffusion_cover=20, dimensions=16) model.fit(graph) X = model.get_embedding()

Error is TypeError: init() got an unexpected keyword argument 'iter'

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/benedekrozemberczki/karateclub/issues/68, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEETMF2DDXE5PMXQCWVW34DTKWATRANCNFSM43TDP4EA .

wanglu2014 commented 3 years ago

gensim==3.8.3