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
066bef21
Unverified
Commit
066bef21
authored
Jul 14, 2021
by
Quan (Andy) Gan
Committed by
GitHub
Jul 14, 2021
Browse files
[Doc] Fix CoraFull number of edges inconsistency in doc (#3139)
parent
d7390763
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
3 deletions
+4
-3
docs/source/gen_dataset_stat.py
docs/source/gen_dataset_stat.py
+1
-1
python/dgl/data/__init__.py
python/dgl/data/__init__.py
+1
-1
python/dgl/data/gnn_benchmark.py
python/dgl/data/gnn_benchmark.py
+2
-1
No files found.
docs/source/gen_dataset_stat.py
View file @
066bef21
...
...
@@ -2,7 +2,7 @@ from pytablewriter import RstGridTableWriter, MarkdownTableWriter
import
numpy
as
np
import
pandas
as
pd
from
dgl
import
DGLGraph
from
dgl.data.gnn_benc
k
mark
import
AmazonCoBuy
,
CoraFull
,
Coauthor
from
dgl.data.gnn_benc
h
mark
import
AmazonCoBuy
,
CoraFull
,
Coauthor
from
dgl.data.karate
import
KarateClub
from
dgl.data.gindt
import
GINDataset
from
dgl.data.bitcoinotc
import
BitcoinOTC
...
...
python/dgl/data/__init__.py
View file @
066bef21
...
...
@@ -13,7 +13,7 @@ from .sbm import SBMMixture, SBMMixtureDataset
from
.reddit
import
RedditDataset
from
.ppi
import
PPIDataset
,
LegacyPPIDataset
from
.tu
import
TUDataset
,
LegacyTUDataset
from
.gnn_benc
k
mark
import
AmazonCoBuy
,
CoraFull
,
Coauthor
,
AmazonCoBuyComputerDataset
,
\
from
.gnn_benc
h
mark
import
AmazonCoBuy
,
CoraFull
,
Coauthor
,
AmazonCoBuyComputerDataset
,
\
AmazonCoBuyPhotoDataset
,
CoauthorPhysicsDataset
,
CoauthorCSDataset
,
CoraFullDataset
from
.karate
import
KarateClub
,
KarateClubDataset
from
.gindt
import
GINDataset
...
...
python/dgl/data/gnn_benc
k
mark.py
→
python/dgl/data/gnn_benc
h
mark.py
View file @
066bef21
...
...
@@ -152,7 +152,8 @@ class CoraFullDataset(GNNBenchmarkDataset):
Statistics:
- Nodes: 19,793
- Edges: 130,622
- Edges: 126,842 (note that the original dataset has 65,311 edges but DGL adds
the reverse edges and remove the duplicates, hence with a different number)
- Number of Classes: 70
- Node feature size: 8,710
...
...
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