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

Uploaded Source

File details

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

File metadata

  • Download URL: codeseg-1.0.1.tar.gz
  • Upload date:
  • Size: 5.6 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.1.tar.gz
Algorithm Hash digest
SHA256 d8ab54b385a042ed69a7346d19a9edff1645ecd477572d4e1ebff7560638aa5a
MD5 fa759e3a9ebcb319e3aefdfc87bb8f7e
BLAKE2b-256 097f3916f778d2fd120264db3277372bc4ae6b54e37a7ae52c049f8ec46f572f

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