CoDeSEG Community Detection Package
Project description
Community Detection in Large-Scale Complex Networks via Structural Entropy Game (CoDeSEG)
CoDeSEG supports undirected, directed, weighted, unweighted, overlapping, non-overlapping, and dynamic community detection. The relevant parameter descriptions are as follows:
| Parameter | Description | Type | Default | Required |
|---|---|---|---|---|
in_path |
Input file of graph edge list | file | None | Yes |
out_path |
Output file of communities | file | None | Yes |
ground_truth |
Ground truth file | file | No | No |
weighted |
Weighted graph | bool | false | No |
directed |
directed graph | bool | false | No |
dynamic |
dynamic graph | bool | false | No |
overlap |
Overlapping communities | bool | false | No |
gamma |
Overlapping detecting factor | float | 1.0 | No |
tau |
Non-overlapping entropy threshold | float | 0.3 | No |
r |
Stable round threshold for dynamic detection | int | 2 | No |
it |
Maximum number of iterations | int | 10 | No |
parallel |
Number of threads | int | 1 | No |
verbose |
Print detection iteration messages | bool | false | No |
Note
Build Requirements
- CMake >= 3.22
- python >= 3.8
data format
The format of the input edge list is as follows:
1 \t 2 \n
1 \t 3 \n
2 \t 3 \n
For dynamic graphs, the input should be a file containing edge lists of multiple network snapshots, stored in the /data/ntwk directory. The file structure is as follows:
data(your dataset)/
├── ntwk
├── 1.txt
├── 2.txt
├── 3.txt
...
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
codeseg-1.0.3.tar.gz
(32.9 kB
view details)
File details
Details for the file codeseg-1.0.3.tar.gz.
File metadata
- Download URL: codeseg-1.0.3.tar.gz
- Upload date:
- Size: 32.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.8.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
635252ae90dac286795b7f37aa89176e1a61e810e93eb13f871249018d146443
|
|
| MD5 |
8d3c6acb0fb5666f84026bbd763edfda
|
|
| BLAKE2b-256 |
ff446f486ed76e0526389695d20819d45964cb0a9fe9f4fcaf3cae22f1acb006
|