We present PyGenStability, a general-use Python software package that provides a suite of analysis and visualisation tools for unsupervised multiscale community detection in graphs. PyGenStability finds optimized partitions of a graph at different levels of resolution by maximizing the generalized Markov Stability quality function with the Louvain or Leiden algorithms. The package includes automatic detection of robust graph partitions and allows the flexibility to choose quality functions for weighted undirected, directed and signed graphs, and to include other user-defined quality functions.
翻译:我们提出PyGenStability,这是一个通用型Python软件包,为图中无监督多尺度社区检测提供了一套分析与可视化工具。PyGenStability通过Louvain或Leiden算法最大化广义马尔可夫稳定性质量函数,从而在不同分辨率水平上找到图的最优划分。该软件包包含自动检测鲁棒图划分的功能,并允许灵活选择适用于加权无向图、有向图和符号图的质量函数,同时支持集成用户自定义质量函数。