Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/dmlc/dgl
/ node_classification.py
File
node_classification.py
examples/core/graphsage/node_classification.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
""
"
2
This script trains and tests a GraphSAGE model based on the information of
3
a full graph.
4
Callers
nothing calls this directly
Calls
10
AddSelfLoop
Class · 0.90
CoraGraphDataset
Class · 0.90
CiteseerGraphDataset
Class · 0.90
PubmedGraphDataset
Class · 0.90
SAGE
Class · 0.70
train
Function · 0.70
evaluate
Function · 0.70
device
Method · 0.45
to
Method · 0.45
int
Method · 0.45
Tested by
no test coverage detected