DynBenchmark
Customizable Ground Truths to Benchmark Community Detection and Tracking in Temporal Networks
DynBenchmark is a comprehensive toolkit for generating customizable ground truths to benchmark community detection and tracking algorithms in temporal networks.
🚀 Key Features
- Ground Truth Generation: Create customizable evolving communities that can grow, shrink, merge, split, appear, or disappear.
- Comprehensive Metrics: Analyze networks and communities with rich metrics for structures and evolution patterns.
- Visualization Tools: Understand community dynamics with intuitive visualizations and interactive diagrams.
- Algorithm Evaluation: Compare detection algorithms against ground truth with specialized metrics.
🏁 Quick Start
# Install the package
pip install dyn-benchmark[pretty]
# Generate a customized benchmark
from dyn.benchmark.generator.groundtruth_generator import GroundtruthGenerator
# Create a generator with specific parameters
generator = GroundtruthGenerator(seed=42)
# Generate the benchmark with evolving communities
groundtruth = generator.generate()
# Visualize community evolution with Sankey diagram
from dyn.drawing.sankey_drawing import plot_sankey
from dyn.core.communities import Membership
membership = Membership.from_tcommlist(groundtruth.tcommlist)
plot_sankey(membership.community_graph)
See our full documentation for detailed tutorials, additional examples and a full API reference.
📝 Citation
If you use DynBenchmark in your research, please use the following BibTeX entry:
Brisson, L., Bothorel, C., & Duminy, N. (2025). DynBenchmark: Customizable Ground
Truths to Benchmark Community Detection and Tracking in Temporal Networks, France's International Conference on Complex Systems (FRCCS 2025), Bordeaux, France
BibTeX:
@inproceedings{brisson2025dynbenchmark,
title={DynBenchmark: Customizable Ground Truths to Benchmark Community Detection and Tracking in Temporal Networks},
author={Brisson, Laurent and Bothorel, Cécile and Duminy, Nicolas},
booktitle={France's International Conference on Complex Systems},
year={2025},
publisher={Springer}
}
👥 Contributing
This package is growing continuously and contributions are welcomed. Contributions can come in the form of new features, bug fixes, documentation improvements or any combination thereof.
If you want to contribute to this package, please read the Contributing guidelines. If you have any new ideas or have found bugs, feel free to create an issue. Finally, any contribution must be proposed for integration as a Merge Request.
Please visit our Gitlab for more details.
📄 License
This software is licensed under the European Union Public Licence (EUPL) v1.2. For more information see this.
Metadata
Release files for dyn-benchmark 0.6.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| dyn_benchmark-0.6.0.tar.gz | 30.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dyn_benchmark-0.6.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 61.5 kB
Release files / dyn_benchmark-0.6.0.tar.gz
| Download URL | dyn_benchmark-0.6.0.tar.gz |
|---|---|
| Size | 30.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6b728767de0135d35b41195b9e73020e8a00bd10b05c8a4402c2001a684a3c41
|
|
BLAKE2b-256 checksum How to use checksums |
5cb852b5296d8b79050fd3f4451a03a432c31a192babb723c18a05392f0aa4fa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.7
|
Release files / dyn_benchmark-0.6.0-py3-none-any.whl
| Download URL | dyn_benchmark-0.6.0-py3-none-any.whl |
|---|---|
| Size | 31.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
494e8385b8fa4bae80ec11e4c085b83f8622c0bedaefe930f1d68ea8eed95263
|
|
BLAKE2b-256 checksum How to use checksums |
77d02c10ba1b87defd5f0fc00c65d6720b0f76ea8458f8bf22bf2347eece7746
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.7
|