pytorch_geometric icon indicating copy to clipboard operation
pytorch_geometric copied to clipboard

Add weighted sampling support in `random_walk`

Open Ali-A-Kiaei opened this issue 2 years ago • 2 comments

@rusty1s I have recently submitted a pull request for the node2vec algorithm, which implements a weighted random walk. I am eagerly anticipating the merging of this code into the main branch. 😊

Ali-A-Kiaei avatar Aug 08 '23 07:08 Ali-A-Kiaei

Codecov Report

Merging #7858 (89242c5) into master (c0c060c) will decrease coverage by 0.11%. Report is 1 commits behind head on master. The diff coverage is 31.91%.

:exclamation: Current head 89242c5 differs from pull request most recent head 76317f9. Consider uploading reports for the commit 76317f9 to get more accurate results

@@            Coverage Diff             @@
##           master    #7858      +/-   ##
==========================================
- Coverage   89.36%   89.26%   -0.11%     
==========================================
  Files         457      457              
  Lines       26817    26855      +38     
==========================================
+ Hits        23965    23971       +6     
- Misses       2852     2884      +32     
Files Changed Coverage Δ
torch_geometric/nn/models/node2vec.py 71.87% <31.91%> (-22.25%) :arrow_down:

... and 6 files with indirect coverage changes

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

codecov[bot] avatar Aug 08 '23 07:08 codecov[bot]

Wondering if there is any update on this? Edge weights would be an incredible addition to Node2Vec.

lachlancahill avatar Apr 03 '24 23:04 lachlancahill