semvec/pypi-packages huggingface dataset:
cgnlib 0.1.7
CGNLib, a Python library, enhances GN by allowing experimentation with different centrality metric. This flexibility can improve community detection results.
License: MIT
Keywords: cgn, Community DetectionCommunity, DetectionGirvan-NewmanCentrality Metrics

# CGNLib - Community Detection Library

[![PyPI version](https://badge.fury.io/py/cgn.svg)](https://badge.fury.io/py/cgn)

`CGNLib` is a Python library, enhances GN by allowing experimentation with different centrality metrics—Edge Betweenness, Edge Closeness, PageRank, and Degree Centrality. This flexibility can improve community detection results. The library is easy to integrate via Pip and includes a benchmarking method for experiments. CGNLib also features the "Hat Yai Tourism" dataset, inspired by the need to optimize community detection in Hat Yai, Songkhla’s tourism routes, making it valuable for research and practical applications.