phanein / deepwalk

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

Running from within notebook #115

Closed jdmoore7 closed 4 years ago

jdmoore7 commented 4 years ago

The README demonstrates how to execute from command line, but it's unclear which methods to use and in what order from within Jupyter Notebook (or any IDE for that matter.)

GTmac commented 4 years ago

For usage in Jupyter, you could try calling the process() function defined in __main__.py: https://github.com/phanein/deepwalk/blob/master/deepwalk/__main__.py#L49