DeepWalk learns node embeddings by performing random walks on the graph and treating walks as sentences. Node embeddings are learned via Skip-gram, learning to predict context nodes from center nodes.
Implement:
random_walk(adj, start_node, walk_length)
Performs a random walk on the graph starting from a node.
No results yet
Run your code to check it against the examples, or submit to run every test.