Skip to content

Dataload - #21

Merged
JoKircher merged 11 commits into
mainfrom
dataload
Jul 30, 2026
Merged

Dataload#21
JoKircher merged 11 commits into
mainfrom
dataload

Conversation

@JoKircher

Copy link
Copy Markdown
Member

Feature: Introduce Data Loading Infrastructure

Summary

This PR merges the dataload branch into main, introducing core data loading and batching utilities for GraphNetCore.jl. These additions provide a standardized way to ingest graph data, handle feature matrices, and prepare mini-batches for downstream graph neural network training.

Key Changes

  • Graph DataLoader: Implemented a generic data loader structure for handling collections of graphs.
  • Batching Logic: Added efficient batching mechanisms to combine multiple disconnected graphs into a single large disjoint graph (e.g., concatenating adjacency matrices and node features).
  • Dataset Support: Added utilities for downloading and parsing standard graph datasets (e.g., [Cora / CiteSeer / custom formats]).
  • Preprocessing Pipeline: Introduced helper functions for normalizing node features and adding self-loops.

Motivation

Previously, users had to manually manage graph batching and feature alignment. This update abstracts the boilerplate data pipeline, bringing our API closer to standard GNN workflows and making it significantly easier to train models on large datasets.

Testing & Validation

  • Added unit tests for the batching and unbatching logic.
  • Verified data integrity (node indices, edge indexing) post-batching.
  • All CI/CD pipelines and existing tests pass successfully.

Checklist

  • Documentation updated to reflect new data loading structs and functions.
  • Code follows the GraphNetCore.jl style guidelines.
  • Exported new functions in the main module file.

@JoKircher
JoKircher merged commit 63e4470 into main Jul 30, 2026
1 check passed
@JulianTrommer
JulianTrommer deleted the dataload branch August 6, 2026 12:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants