Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add random_walk_pe #273

Merged
merged 15 commits into from
Mar 25, 2023
Merged

Conversation

aurorarossi
Copy link
Member

This PR add the RandomWalkPE of issue #190

@CarloLucibello
Copy link
Member

Let's define the more basic function

random_walk_pe(g::GNNGraph, walk_length::Int)

that returns the positional encoding. Then the user can add it to the graph or do anything with it.

@codecov
Copy link

codecov bot commented Mar 25, 2023

Codecov Report

Merging #273 (19a893b) into master (5b23e9c) will increase coverage by 0.04%.
The diff coverage is 93.75%.

❗ Current head 19a893b differs from pull request most recent head 8c14883. Consider uploading reports for the commit 8c14883 to get more accurate results

@@            Coverage Diff             @@
##           master     #273      +/-   ##
==========================================
+ Coverage   82.11%   82.15%   +0.04%     
==========================================
  Files          17       17              
  Lines        1923     1939      +16     
==========================================
+ Hits         1579     1593      +14     
- Misses        344      346       +2     
Impacted Files Coverage Δ
src/GNNGraphs/transform.jl 96.93% <93.75%> (-0.55%) ⬇️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@aurorarossi aurorarossi changed the title Add add_RandomWalkPE Add random_walk_pe Mar 25, 2023
@CarloLucibello CarloLucibello merged commit 05fca7c into JuliaGraphs:master Mar 25, 2023
@CarloLucibello
Copy link
Member

nice, thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants