Community Detection, Louvain, Leiden, Getting Started.
introduced to evaluate the quality of a partition of a network into communities. The algorithm is almost similar to the Louvain community detection algorithm except that it uses surprises instead of modularity. Nodes are moved from one community to another such that surprises are greedily improved.