Skip to main content

Module community

Module community 

Source
Expand description

Community detection via label propagation.

Detects communities in the knowledge graph using a simple label propagation algorithm. Used to evaluate whether the self-organized Hebbian graph recovers ground-truth topic clusters.

Structs§

Community
A detected community in the knowledge graph.
CommunityResult
Result of community detection.

Functions§

compute_nmi
Compute Normalized Mutual Information (NMI) between detected and ground-truth labels.
detect_communities
Run label propagation community detection.