-
Notifications
You must be signed in to change notification settings - Fork 87
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
Simplicial checks #250
Simplicial checks #250
Conversation
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #250 +/- ##
==========================================
+ Coverage 96.54% 97.49% +0.94%
==========================================
Files 58 58
Lines 2229 2155 -74
==========================================
- Hits 2152 2101 -51
+ Misses 77 54 -23
☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Just one comment: is there a reason to have a file path data/cora/Cora/raw
?
- there is no uppercase in python, thus it should be at least
data/cora/cora/raw
- however, the most straightforward is:
data/cora
Are you using this complicated path for consistency with how this dataset is refered to in other packages?
In any case, I'm merging this PR now (so that we avoid github conflicts), but if it makes sense to update the file path to data/cora
, could you do it in a follow-up PR? Thanks!
This PR introduces some modifications in simplicial models to ensure a consistent implementation across all of them (with the exceptions of
SCA_CMPS
andSCConv
, that need further analysis).In particular, we decoupled the readout from the models, thus making a uniform implementation of the simplicial architectures for whichever dowstream task is considered. The output of each model is now the set of final hidden representations of the involved simplices (nodes, edgees, faces,... or a combination of them), and then a light
Network
class is defined in the tutorials to leverage the final hidden states to get the desired output for the considered dataset and task.Apart from this refactorization of the implementations, which could facilitate the aplication/adaptation of the models to different domains and tasks, we have also checked the model pipelines, as well as updated the involved test files accordingly (except with
SCA_CMPS
andSCConv
, which require a closer look).