Skip to content

Extend sampling & serialized graph element features#64

Draft
VJalili wants to merge 6 commits into
B1AAB:mainfrom
VJalili:improve-sampling
Draft

Extend sampling & serialized graph element features#64
VJalili wants to merge 6 commits into
B1AAB:mainfrom
VJalili:improve-sampling

Conversation

@VJalili

@VJalili VJalili commented May 30, 2026

Copy link
Copy Markdown
Collaborator
  • Extend the list of features of sampled block nodes
  • Update the sampling algorithm, making the following changes:
    • Implement both BFS & DFS expansions of node. Previous it was only DFS, BFS is more representative
    • Sampling decay is changed to be a percentage of node degree, where the algorithm samples n percentage of its neighbors
    • Set a MaxNeighborsPerNode option which allows capping how many neighbors per node should be included/expanded.
    • Add an option forceIncludeCoinbaseNode that if set, ensures the coinbase node is included irrespective of node degree thresholds.
    • Add a schema.json file alongside a batch of sampled communities that contains the schema of the features in the node and edge files in the sampled communities. This file simplifies parsing the feature vectors from the node and edge files.

@VJalili VJalili changed the title Extend graph elemen features serialized. Extend sampling & serialized graph element features Jun 18, 2026
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.

1 participant