node2vec extends DeepWalk with biased random walks controlled by return parameter p and in-out parameter q. These parameters control exploration depth vs. breadth.
High p: discourage immediate returns to previous node. High q: breadth-first exploration.
Implement:
biased_random_walk(adj, start_node, walk_length, p, q)
No results yet
Run your code to check it against the examples, or submit to run every test.