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 #88 and #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 #140
[1] https://louisabraham.github.io/articles/node2vec-sampling.html
In the Node2vec paper, the transition probabilities are computed based on both edge weights and the hyperparameters
pandq. The current implementation does not include the edge weights of a graph. This feature was already requested in #88 and #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 #140
[1] https://louisabraham.github.io/articles/node2vec-sampling.html