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.
- Community
Result - 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.