๐งโ๐คโ๐ง Core-Peripheryยถ
Submodulesยถ
hypergraphx.communities.core_periphery.model moduleยถ
- hypergraphx.communities.core_periphery.model.aggregate_local_core_values(nodes, order, local_core_values)[source]ยถ
- hypergraphx.communities.core_periphery.model.core_periphery(hypergraph, greedy_start=False, N_ITER=1000, *, seed=None, rng=None)[source]ยถ
Implementation of the core-periphery model described in: https://arxiv.org/pdf/2202.12769.pdf
- Parameters:
hypergraph (Hypergraph) โ Hypergraph object
greedy_start (bool) โ If True, use a greedy approach to find the initial permutation of nodes (default: False)
N_ITER (int) โ Number of iterations (default: 1000)
- Returns:
Dictionary with coreness scores for each node
- Return type:
dict