Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dgl
Commits
9dc361c6
Unverified
Commit
9dc361c6
authored
Sep 20, 2023
by
Rhett Ying
Committed by
GitHub
Sep 20, 2023
Browse files
[GraphBolt] add example of heterograph node classification (#6339)
parent
648b8448
Changes
2
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
676 additions
and
0 deletions
+676
-0
examples/graphbolt/rgcn/README.md
examples/graphbolt/rgcn/README.md
+18
-0
examples/graphbolt/rgcn/hetero_rgcn.py
examples/graphbolt/rgcn/hetero_rgcn.py
+658
-0
No files found.
examples/graphbolt/rgcn/README.md
0 → 100644
View file @
9dc361c6
# Node classification on heterogeneous graph with RGCN
## Run on `ogbn-mag` dataset
### Command
```
python3 hetero_rgcn.py
```
### Statistics of train/validation/test
```
Final performance:
All runs:
Highest Train: 49.29 ± 0.85
Highest Valid: 34.69 ± 0.49
Final Train: 48.14 ± 1.09
Final Test: 33.65 ± 0.63
```
\ No newline at end of file
examples/graphbolt/rgcn/hetero_rgcn.py
0 → 100644
View file @
9dc361c6
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment