https://github.com/dannyrichy/graphon

Project Repository for DD2430

https://github.com/dannyrichy/graphon

Science Score: 10.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
    Links to: arxiv.org
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (10.3%) to scientific vocabulary
Last synced: 9 months ago · JSON representation

Repository

Project Repository for DD2430

Basic Info
  • Host: GitHub
  • Owner: dannyrichy
  • Language: Python
  • Default Branch: master
  • Size: 41.2 MB
Statistics
  • Stars: 2
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Created almost 4 years ago · Last pushed over 3 years ago
Metadata Files
Readme

README.md

Graphon

Project Repository for DD2430 in colloboration with SEB.

Project description

In this project we intend to run some experiments to test the performance of graphons as embedding methods for downstream tasks (eg. classification, clustering) in relation to Graph2Vec, a common graph embedding framework.

Fig: Graphon functions we used to generate data.

We ran our experiments on both Synthetic data (generated using the graphons) and Real data, using the framework Weights & Biases to efficiently store the results using the "Sweep" function.

Whaw we could find out is that graphons are impressively faster at finding an embedding compared to G2V, and the performance is always comparable if not higher in most cases.

As extra task we evaluated the use of graphons to perform augmentation on data. Useful in the case of unbalanced datasets.

Fig: Idea behind data augmentation using graphons.

How to use

To use the code it is necessary to set up the config.yaml file first, it contains descriptions of what each variable is used for; the sweep_config.yaml file has to be set up only if you intend to run a sweep over different parameters; in this case we have to set SWEEP: True in the previous file and set up the variables we want to sweep over following the same format as the ones present in the file.

After this the code can be run from the main.py function.

Note that if you intend to use the real data you have to uncomment the lines at the end of main.py and set DOWNLOAD_DATA: True in the first config file.

Owner

  • Name: Daniel Richards R
  • Login: dannyrichy
  • Kind: user
  • Location: Stockholm,Sweden

Msc in Machine Learning

GitHub Events

Total
Last Year