Skip to content

Latest commit

 

History

23 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wegd: The within-ensemble graph distance

Python code for calculating the within-ensemble graph distance between networks sampled from a given graph ensemble, under a number of graph distances.

This code accompanies the paper:

Network comparison and the within-ensemble graph distance
Harrison Hartle, Brennan Klein, Stefan McCabe, Alexander Daniels, Guillaume St-Onge, Charles Murphy, and Laurent Hébert-Dufresne. https://arxiv.org/abs/2008.02415


example RGG ER

Fig. 1: Mean within-ensemble distances for each distance measure tested.

Analysis and Notebooks

  1. An example
  2. Sample code for batch experiments on a computing cluster

Requirements

This code is written in Python 3.x and uses the standard Python scientific computing stack and netrd for implementations of the graph distances.

The specific dependencies are documented in requirements.txt.

Citation

If you use these methods and this code in your own research, please cite our paper:

Hartle H., Klein B., McCabe S., Daniels A., St-Onge G., Murphy C., and Hébert-Dufresne L. (2020). Network comparison and the within-ensemble graph distance. Proc. R. Soc. A 20190744. http://dx.doi.org/10.1098/rspa.2019.0744

Bibtex:

@article{hartle2020wegd,
  title = {Network comparison and the within-ensemble graph distance},
  author = {Harrison Hartle and Brennan Klein and Stefan McCabe and Alexander Daniels and Guillaume St. Onge and Charles Murphy and Laurent Hébert-Dufresne},
  journal = {Proceedings of the Royal Society A},
  year = {2020},
  doi = {10.1098/rspa.2019.0744}
}

License

This code is available for academic use only. However, much of the work is done by the netrd library, which is available under an MIT license.

About

repository for studying the within-ensemble graph distance

Resources

Stars

2 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages