Replies: 1 comment
-
I can't think of any efficient implementation in pyg for this. But some things you could try out are
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello.
Having recently read the Chroma paper by Generate Biomedicines (https://www.biorxiv.org/content/10.1101/2022.12.01.518682v1?rss=1), I was curious to see how difficult it would be to implement the random edge sampling algorithm described in this preprint. Specifically, for each node, they determine the 20-nearest neighbors to define edges between these neighbors (already doable using
knn_graph
). However, where the implementation gets a bit tricky is where they describe also including 40 random, long-range (far Euclidean distance) neighbors in their edge construction for each node.Would anyone here happen to know whether such an implementation is currently tractable using PyG?
Beta Was this translation helpful? Give feedback.
All reactions