Skip to content

Molecule Ring & Close Atoms Lifting (Graph to Combinatorial) #16

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

Merged
merged 62 commits into from
Feb 15, 2025

Conversation

bertranMiquel
Copy link
Contributor

This notebook imports QM9 dataset and applies a lifting from a graph molecular representation to a combinatorial complex. Then, a neural network is run using the loaded data.

Using QM9 dataset, we implement a lifting from a molecule graph to a combinatorial complex based on two points:

  • The ring information of the molecule. Rings will be represented as 2-cells in the combinatorial complex.
  • The distance between atoms in the molecule. Distances between atoms will be computed. If the atoms are under a predefined threshold, they will be considered as close and groupped together. This clusters will be introduced as hyperedges in the combinatorial complex.

So far, from our knowledge it is the first representation of a cell as a combinatorial complex, combining both hypergraphs and cell complexes.

Here, the elements are the following:

  • Nodes: Atoms in the molecule.
  • Edges: Bonds between atoms.
  • Hyperedges: Clusters of atoms that are close to each other.
  • 2-cells: Rings in the molecule.

This pull request is done under the team formed by: Bertran Miquel Oliver, Manel Gil Sorribes, Alexis Molina

Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@bertranMiquel
Copy link
Contributor Author

bertranMiquel commented Jul 9, 2024 via email

@codecov-commenter
Copy link

Codecov Report

Attention: Patch coverage is 96.50350% with 5 lines in your changes missing coverage. Please review.

Please upload report for BASE (main@497947b). Learn more about missing BASE report.

Files Patch % Lines
...gs/graph2combinatorial/ring_close_atoms_lifting.py 95.83% 5 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main      #16   +/-   ##
=======================================
  Coverage        ?   71.70%           
=======================================
  Files           ?       18           
  Lines           ?      622           
  Branches        ?        0           
=======================================
  Hits            ?      446           
  Misses          ?      176           
  Partials        ?        0           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@gbg141 gbg141 added award-category-2 Lifting to Combinatorial, Hypergraph or Graph 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
@gbg141 gbg141 merged commit a689099 into pyt-team:main Feb 15, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
award-category-2 Lifting to Combinatorial, Hypergraph or Graph 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.

3 participants