snap-stanford / ogb

Benchmark datasets, data loaders, and evaluators for graph machine learning
https://ogb.stanford.edu
MIT License
1.89k stars 397 forks source link

Graph reports #432

Closed LucaCappelletti94 closed 1 year ago

LucaCappelletti94 commented 1 year ago

Hi!

I have started running some experiments with OGB graphs, and I have noticed some of them include some topological oddities (isomorphic nodes, dendritic trees etc). I am not sure whether these are problematic for the task, as it is generally extremely task-dependent.

That being said, using GRAPE utilities for graph report I can get you for all graphs rather quickly extensive reports, such as the one shown in the linked example.

These reports are generated in HTML (or Markdown) and can be readily dropped into the OGB website if desired - I believe they may offer insights to OGB users regarding the graph topology, and why their model is performing well / not so well on a given graph.

Here is another example of a graph report, computed on the PubMed citation graph.

If you believe these may be useful I can start providing them as part of a pull request, just let me know if you believe that to be the case.

Best, Luca