Skip to main content

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.2.tar.gz (32.9 kB view details)

Uploaded Source

File details

Details for the file codeseg-1.0.2.tar.gz.

File metadata

  • Download URL: codeseg-1.0.2.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

Hashes for codeseg-1.0.2.tar.gz
Algorithm Hash digest
SHA256 5457b58235db8a42b86f699d2cff4191770084a2e786bc761c009d243b243cbd
MD5 7d3658a50ff631a23b8422a2db5602ea
BLAKE2b-256 9ff78a41c583a813b97fa03c2bfdb5c3fc94621471e29c2abf35511d0a218b51

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page