williamleif/graphsage-simple
williamleif/graphsage-simple has 1,051 GitHub stars and 247 forks. GitHot measured 0 stars in 24 hours. Last checked 2026-11-09 11:32 UTC. Last push 2020-05-11.
Simple reference implementation of GraphSAGE.
Measured star growth
- in 24h
- 0
- in 7 days
- Update delayed
- in 15 days
- Update delayed
- in 1 month
- Update delayed
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
OriginalReference PyTorch GraphSAGE Implementation
Author: William L. Hamilton
Basic reference PyTorch implementation of GraphSAGE. This reference implementation is not as fast as the TensorFlow version for large graphs, but the code is easier to read and it performs better (in terms of speed) on small-graph benchmarks. The code is also intended to be simpler, more extensible, and easier to work with than the TensorFlow version.
Currently, only supervised versions of GraphSAGE-mean and GraphSAGE-GCN are implemented.
Requirements
pytorch >0.2 is required.
Running examples
Execute python -m graphsage.model to run the Cora example.
It assumes that CUDA is not being used, but modifying the run functions in model.py in the obvious way can change this.
There is also a pubmed example (called via the run_pubmed function in model.py).
Explore related projects
codecrafters-io/build-your-own-x
Master programming by recreating your favorite technologies from scratch.
561,375 starspublic-apis/public-apis
A collective list of free APIs
497,650 starsmorluto/rea
Reverse engineer anything with agents, from app behavior down to native binaries.
447,211 starsopenclaw/openclaw
The AI that really does things. Any OS. Any Platform. The lobster way. 🦞
394,260 stars