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

Added perturb_edges function #423

Merged
merged 14 commits into from
Jul 18, 2024

Conversation

rbSparky
Copy link
Contributor

Relates to Issue #412

This is the first in the list of data augmentation based functionality we can add to ensure users can augment their data in many different ways and test results.

This is also the next step in testing things in combination with DropMessage paper mentioned in #412 to see how various ways of data augmentation can improve over-fitting, over-smoothing, and non-robustness(as mentioned in the paper).

src/GNNGraphs/transform.jl Outdated Show resolved Hide resolved
src/GNNGraphs/transform.jl Outdated Show resolved Hide resolved
@CarloLucibello
Copy link
Member

Is this function present in PyG or DGL?

Co-authored-by: Carlo Lucibello <[email protected]>
@rbSparky
Copy link
Contributor Author

Is this function present in PyG or DGL?

yes AddEdge

src/GNNGraphs/transform.jl Outdated Show resolved Hide resolved
src/GNNGraphs/transform.jl Outdated Show resolved Hide resolved
src/GNNGraphs/transform.jl Outdated Show resolved Hide resolved
src/GNNGraphs/transform.jl Outdated Show resolved Hide resolved
@rbSparky
Copy link
Contributor Author

rbSparky commented Jul 6, 2024

Any other changes needed?

@rbSparky
Copy link
Contributor Author

Do I need to make a change somewhere to include MLUtils?

@CarloLucibello
Copy link
Member

yes you should import rand_like in https://github.com/CarloLucibello/GraphNeuralNetworks.jl/blob/acf4b6a0511c63af9244c9f95057f2891704ec6f/src/GNNGraphs/GNNGraphs.jl#L17

@rbSparky
Copy link
Contributor Author

Ready for merge?

@CarloLucibello CarloLucibello merged commit e2623eb into JuliaGraphs:master Jul 18, 2024
2 of 3 checks passed
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