This package is the reference code for most of my publications, please consider citing them.
Some are the following
- Change-Point Methods on a Sequence of Graphs
- Concept Drift and Anomaly Detection in Graph Streams
- Change Detection in Graph Streams by Learning Graph Embeddings on Constant-Curvature Manifolds
- Anomaly and Change Detection in Graph Streams through Constant-Curvature Manifold Embeddings
- Detecting Changes in Sequences of Attributed Graphs
Please have a look at this notebook tutorial.ipynb.
The code is written in python3.
In the package you will find following folders
cdg/graphinterface for datasets of graphs and dissimilarities.cdg/embeddingseveral types of numeric representations of graphs, such as, dissimilarity representation and manifold embeddings.cdg/changedetectiontests for change detection.cdg/utilsutilities for the module.cdg/simulationutilities for repeated experiments.
You may need:
networkx(availablepip 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.graphvizfor visualize graphs.ecpR package (available here) in order to run certain multi change point methods.
Go to your preferred directory, then
git clone https://github.com/dzambon/cdg
cd cdg
sudo pip3 install -e .Author: Daniele Zambon
Affiliation: Università della Svizzera italiana
eMail: [email protected]
Licence: BSD-3-Clause