Extracts clusters from a similarity graph based on a user-defined threshold. The threshold is used to trim weak edges leaving one or more fully connected sub graphs.
A precomputed SimilarityGraph built using buildSimilarityGraph
The similarity threshold for clustering (0-1).
An array of clusters, sorted by size (largest first).
Extracts clusters from a similarity graph based on a user-defined threshold. The threshold is used to trim weak edges leaving one or more fully connected sub graphs.