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
The code is written in
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:
pip install networkx)
graph-matching-toolkit(available here) to compute graph edit distances. A good place to save it is
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
sudo pip3 install -e .