Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

why the cora dataset in deeprobust have 2485 nodes,and cora dataset in pyg have 2708 nodes? which one is correct? #133

Open
chengglmotto opened this issue Mar 18, 2023 · 1 comment

Comments

@chengglmotto
Copy link

No description provided.

@ChandlerBang
Copy link
Collaborator

Hi, the full graph of cora dataset has 2708 nodes while the largest connected component (LCC) of cora has 2485 nodes.

Suppose you are using deeprobust.graph.data.Dataset. By setting setting='gcn', you are able to obtain the cora graph with 2708 nodes.

>>> from deeprobust.graph.data import Dataset
>>> data = Dataset(root='/tmp/', name='cora', setting='gcn')

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

No branches or pull requests

2 participants