Add ability to load, partition, and separate node labels with features#276
Merged
mkolodner-sc merged 31 commits intomainfrom Aug 19, 2025
Merged
Conversation
…dner-sc/update_tfrecordloader_with_labels
…bels' into mkolodner-sc/update_tfrecordloader_with_labels"" This reverts commit f00bb4a.
mkolodner-sc
commented
Aug 15, 2025
mkolodner-sc
commented
Aug 15, 2025
svij-sc
reviewed
Aug 16, 2025
kmontemayor2-sc
approved these changes
Aug 18, 2025
yliu2-sc
approved these changes
Aug 18, 2025
Collaborator
yliu2-sc
left a comment
There was a problem hiding this comment.
I'm ok with this implementation. Only nit is that if we can store labels separately from features.
svij-sc
approved these changes
Aug 19, 2025
Collaborator
Author
|
/unit_test |
Collaborator
Author
|
/e2e_test |
Contributor
GiGL Automation@ 06:44:04UTC : 🔄 @ 07:20:10UTC : ❌ Workflow failed. |
Contributor
GiGL Automation@ 06:44:05UTC : 🔄 @ 08:08:05UTC : ✅ Workflow completed successfully. |
Collaborator
Author
|
/unit_test |
Contributor
GiGL Automation@ 08:16:53UTC : 🔄 @ 08:53:30UTC : ✅ Workflow completed successfully. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Scope of work done
Explanation of Node Classification Labels
Taken from

external-snap-ci-github-gigl.public_gigl.cora_homogeneous_supervised_node_classification_edge_features_paper_nodes_2024-07-15--21-30-07-UTCget_nodes_preprocessing_specfunction.gs://public-gigl/mocked_assets/2024-07-15--21-30-07-UTC/cora_homogeneous_supervised_node_classification/data_preprocess/preprocessed_metadata.yaml:PreprocessedMetadataPbWrapper. This creates and isolates fields we'll need for loading the TFRecords like theFeatureSchemaDict,FeatureDim,LabelKeys, etc. As of this PR, theFeatureSchemaDictincludes the feature schemas for both the feature keys and label keys.id2idx) is correct for both node features and node labels._get_labels_from_features.dataset.build()(TODO in the next PR)Where is the documentation for this feature?: N/A
Did you add automated tests or write a test plan?
Updated Changelog.md? NO
Ready for code review?: NO