phanein / deepwalk

DeepWalk - Deep Learning for Graphs
http://www.perozzi.net/projects/deepwalk/
Other
2.68k stars 826 forks source link

Question: DeepWalk on multigraphs? #24

Closed prokolyvakis closed 7 years ago

prokolyvakis commented 8 years ago

Hello,

I would like to ask if DeepWalk can be applied to directed Graphs with more that one edge between two nodes?

Thank you very much for your time and for this great research work!

Kind regards, Prodromos

phanein commented 8 years ago

Hello Prodromos,

Thanks for your interest in the work. This is certainly possible, but you'll need a different graph data structure (perhaps networkx's MultiDiGraph).

You would then have to generate the random walks, and feed them into the modeling (perhaps like this).

Hope that helps, Bryan

prokolyvakis commented 8 years ago

Hello Bryan,

Thank you for your prompt reply and for your valuable comments! I will give it a try!

Kind regards, Prodromos