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

Vietoris-Rips Lifting (Graph to Complex) #7

Merged
merged 3 commits into from
Feb 14, 2025

Conversation

Jonas-Verhellen
Copy link
Contributor

Although typically used for point cloud data, this method can be adapted to graphs by treating vertices as points and defining edges based on graph distances. A k-simplex is included if the pairwise distances between its vertices are all below a certain threshold.

To construct a Vietoris-Rips complex:

  1. Define a distance metric based on the graph (e.g., shortest path distance).
  2. Select a threshold distance.
  3. Form simplices for all sets of vertices with pairwise distances less than the threshold distance.

We use nx.all_pairs_shortest_path_length to calculate the shortest path distances between all pairs of nodes in the graph. The VietorisRipsLifting class includes a distance_threshold parameter to specify the maximum allowed distance for simplex formation.

Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@gbg141
Copy link
Member

gbg141 commented Jul 8, 2024

Hello @Jonas-Verhellen! Thank you for your submission. As we near the end of the challenge, I am collecting participant info for the purpose of selecting and announcing winners. Please email me (or have one member of your team email me) at guillermo_bernardez@ucsb.edu so I can share access to the voting form. In your email, please include:

  • your first and last name (as well as any other team members)
  • the title of the method you implemented
  • the input domain of the method you implemented
  • the output domain of the method you implemented
  • your pull request number (Vietoris-Rips Lifting (Graph to Complex) #7)

Before July 12, make sure that your submission respects all Submission Requirements laid out on the challenge page. Any submission that fails to meet this criteria will be automatically disqualified.

@gbg141 gbg141 added award-category-1 Lifting to Simplicial or Cell Domain award-category-3 Feature-based Lifting (including those that simultaneously leverage the connectivity) labels Jul 9, 2024
@gbg141 gbg141 added Winner Awarded submission and removed challenge-icml-2024 labels Oct 31, 2024
Copy link
Member

@gbg141 gbg141 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@gbg141 gbg141 merged commit daa295a into pyt-team:main Feb 14, 2025
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
award-category-1 Lifting to Simplicial or Cell Domain award-category-3 Feature-based Lifting (including those that simultaneously leverage the connectivity) Winner Awarded submission
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants