Node2Vec implementation is degree agnostic of the starting vertex
#5 600 ouverte le 3 oct. 2022
Métriques du dépôt
- Stars
- (19 985 stars)
- Métriques de merge PR
- (Merge moyen 35j 1h) (14 PRs mergées en 30 j)
Description
🚀 The feature, motivation and pitch
In the original Node2vec paper probability of picking a start, a node is proportional to its out degree. While looking at existing code in this project to me it appears that it is not in this case and the probability of picking a start node is uniformly distributed across all nodes.
Attaching ss from paper. If you want I can create a quick PR to fix this. It should be easy since we already take edge_index from the user. Not sure if this is a feature request or a bug because the original implementation of authors also considered weighted networks but I don't think that is the case here. So not sure if this was also left out on purpose. Please feel free to point out any gaps in my understanding of this code base or the paper itself.

Alternatives
No response
Additional context
No response