pytorch_cluster icon indicating copy to clipboard operation
pytorch_cluster copied to clipboard

Implement weighted random walks

Open pbielak opened this issue 3 years ago • 1 comments

In the Node2vec paper, the transition probabilities are computed based on both edge weights and the hyperparameters p and q. The current implementation does not include the edge weights of a graph. This feature was already requested in https://github.com/rusty1s/pytorch_cluster/issues/88 and https://github.com/rusty1s/pytorch_cluster/issues/115. Based on the rejection sampling method used for the current implementation [1], I implemented a version that includes edge weights.

The PR for this feature implementation is https://github.com/rusty1s/pytorch_cluster/pull/140

[1] https://louisabraham.github.io/articles/node2vec-sampling.html

pbielak avatar Aug 10 '22 15:08 pbielak

This issue had no activity for 6 months. It will be closed in 2 weeks unless there is some new activity. Is this issue already resolved?

github-actions[bot] avatar Feb 07 '23 01:02 github-actions[bot]