Skip to content

dzambon/cdg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

logo cdg

Change Detection in a sequence of Graphs

This package is the reference code for most of my publications, please consider citing them.

Some are the following

Tutorial

Please have a look at this notebook tutorial.ipynb.

The package

The code is written in python3. In the package you will find following folders

  • cdg/graph interface for datasets of graphs and dissimilarities.
  • cdg/embedding several types of numeric representations of graphs, such as, dissimilarity representation and manifold embeddings.
  • cdg/changedetection tests for change detection.
  • cdg/utils utilities for the module.
  • cdg/simulation utilities for repeated experiments.

Requirements and suggested packages

You may need:

  • networkx (available pip install networkx)
  • GraKel (available here)
  • graph-matching-toolkit (available here) to compute graph edit distances. A good place to save it is ./graph-matching-toolkit/graph-matching-toolkit.jar.
  • graphviz for visualize graphs.
  • ecp R package (available here) in order to run certain multi change point methods.

Installation

Go to your preferred directory, then

git clone https://github.com/dzambon/cdg
cd cdg
sudo pip3 install -e .

Credits

Author: Daniele Zambon
Affiliation: Università della Svizzera italiana
eMail: daniele.zambon@usi.ch
Licence: BSD-3-Clause