New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

graph-datasets

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

graph-datasets

Load graph datasets.

  • 0.14.0
  • PyPI
  • Socket score

Maintainers
1

Graph Datasets

PYPI Latest Release

Installation

  • python>=3.8
  • torch>=1.12
  • torch_geometric>=2.0
  • dgl>=1.1
$ python -m pip install graph_datasets

Usage

See Graph Datasets for docs.

from graph_datasets import load_data

graph, label, n_clusters = load_data(
    dataset_name='cora',
    directory='./data',
    source='pyg',
    verbosity=1,
)

Statistics

idxsourcedatasetn_nodesn_featsn_edgesn_clusters
1pygcora2,7081,43310,5567
2pygciteseer3,3273,7039,1046
3pygpubmed19,71750088,6483
4pygcorafull19,7938,710126,84270
5pygreddit232,965602114,615,89241
6pygchameleon2,2772,32562,7425
7pygsquirrel5,2012,089396,7065
8pygactor7,60093253,3185
9pygcornell1831,7035545
10pygtexas1831,7035585
11pygwisconsin2511,7039005
12pygcomputers13,752767491,72210
13pygphoto7,650745238,1628
14pygcs18,3336,805163,78815
15pygphysics34,4938,415495,9245
16pygwikics11,701300431,20610
17dglcora2,7081,43310,5567
18dglciteseer3,3273,7039,1046
19dglpubmed19,71750088,6483
20dglcorafull19,7938,710126,84270
21dglreddit232,965602114,615,89241
22dglchameleon2,2772,32562,7425
23dglsquirrel5,2012,089396,7065
24dglactor7,60093253,3185
25dglcornell1831,7035545
26dgltexas1831,7035585
27dglwisconsin2511,7039005
28ogbproducts2,449,029100123,718,02447
29ogbarxiv169,3431282,315,59840
30sdcndblp4,0573347,0564
31sdcnacm3,0251,87026,2563
32colablogcatalog5,1968,189343,4866
33colaflickr7,57512,047479,4769
34linkxsnap-patents2,923,92226927,945,0905
35linkxpokec1,632,8036544,603,9283
36linkxgenius421,961121,845,7362
37linkxarxiv-year169,3431282,315,5985
38linkxPenn9441,5544,8142,724,4583
39linkxtwitch-gamers168,114713,595,1142
40linkxwiki1,925,342600485,014,1386
41linkxcornell1831,7035545
42linkxchameleon2,2772,32562,7425
43linkxfilm7,60093253,3185
44linkxsquirrel5,2012,089396,7065
45linkxtexas1831,7035585
46linkxwisconsin2511,7039005
47linkxyelp-chi45,954327,693,9582
48linkxdeezer-europe28,28131,241185,5042
49linkxAmherst412,2351,193181,9083
50linkxCornell518,6604,7351,581,5543
51linkxJohns Hopkins555,1802,406373,1723
52linkxReed9896274537,6243
53criticalroman-empire22,66230065,85418
54criticalamazon-ratings24,492300186,1005
55criticalminesweeper10,000778,8042
56criticaltolokers11,758101,038,0002
57criticalquestions48,921301307,0802
58criticalsquirrel2,2232,08993,9965
59criticalchameleon8902,32517,7085

Requirements

See requirements-dev.txt, requirements.txt and pyproject.toml:dependencies.

Contributing

See CONTRIBUTING.md.

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc