allegiance¶
- allegiance(community)[source]¶
Computes allience of communities.
The allegiance matrix with values representing the probability that nodes i and j were assigned to the same community by time-varying clustering methods.[alleg-1]_
- Parameters:
community (array) – array of community assignment of size node,time
- Returns:
P (array) – module allegiance matrix, with P_ij probability that area i and j are in the same community
Reference
———-
.. [alleg-1] – Bassett, et al. (2013) “Robust detection of dynamic community structure in networks”, Chaos, 23, 1