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

edge number of cora dataset ? #22

Open
yuxiaokang-source opened this issue Aug 12, 2023 · 1 comment
Open

edge number of cora dataset ? #22

yuxiaokang-source opened this issue Aug 12, 2023 · 1 comment

Comments

@yuxiaokang-source
Copy link

the cora_adj.npy shows cora dataset have 5278 edges
image
but the detail of this dataset(https://github.com/yueliu1999/Awesome-Deep-Graph-Clustering/blob/main/dataset/README.md)
image
shows this dataset have 5429 edges? why?

@yueliu1999
Copy link
Owner

Thanks for your attention. The code counts the undirected edges. The dataset is exactly correct. The same statistics can be found in this link: https://github.com/stsfaroz/Graph-Convolutional-Networks-with-Cora-Dataset/blob/main/GCNN.ipynb.

Graph info: Name:
Type: Graph
Number of nodes: 2708
Number of edges: 5278
Average degree: 3.8981

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