Skip to content

DGSD: Distributed Graph Representation via Graph Statistical Properties (Future Generation Computer Systems (2021))

License

Notifications You must be signed in to change notification settings

Anwar-Said/DGSD

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DGSD (Distributed Graph Statistical Distances)

DGSD is a statistical graph descriptor that computes a feature vector from graph which can be used for many downstream machine learning tasks.

Quick start

pip install DGSD

import dgsd
import multiprocessing
import networkx as nx

g = nx.erdos_renyi_graph(100, 0.2)
descriptor = dgsd.DGSD().get_descriptor(g,bins = 50, workers = 1)

That's it!

Requirements

  • numpy
  • networkx
  • multiprocessing

Installation

simply pip install DGSD

Citing

Please cite DGSD if you use this code in your own work:

@article{said2021dgsd,

title={DGSD: Distributed graph representation via graph statistical properties},

author={Said, Anwar and Hassan, Saeed-Ul and Tuarob, Suppawong and Nawaz, Raheel and Shabbir, Mudassir},

journal={Future Generation Computer Systems},

year={2021},

publisher={Elsevier}

}

Link to the paper: https://www.sciencedirect.com/science/article/abs/pii/S0167739X21000571

About

DGSD: Distributed Graph Representation via Graph Statistical Properties (Future Generation Computer Systems (2021))

Resources

License

Stars

Watchers

Forks

Packages

No packages published