suanrong / SDNE

This is a implementation of SDNE (Structural Deep Network embedding)
http://www.kdd.org/kdd2016/subtopic/view/structural-deep-network-embedding
322 stars 119 forks source link

Can I employ this SDNE to weighted edges? #4

Closed angelinana0408 closed 6 years ago

angelinana0408 commented 7 years ago

Hi suanrong,

I find that the sample inputs in the datagraph file are all unweighted edges. Is it possible that I run this SDNE using weighted edges dataset?

Thank you!

suanrong commented 7 years ago

I think it is ok, what you need is to modifiy the Graph class in graph.py.