fuzzyclust.graph.make_density_blobs#
- fuzzyclust.graph.make_density_blobs(sizes=(200, 40, 40), spreads=(1.2, 0.25, 0.25), centers=((0.0, 0.0), (5.0, 0.9), (5.0, -0.9)), random_state=None)[source]#
A diffuse cluster next to two tight ones (very different densities).
The longest MST edges inside the diffuse group are as long as the edge that separates the two tight groups from each other, so a global length threshold (Zahn’s Criterion 1) either leaves the tight groups merged or cuts the tails off the diffuse one; the local inconsistency criterion (Criterion 2) compares each edge with its neighborhood and finds the three groups.
Examples using fuzzyclust.graph.make_density_blobs#
Inconsistent edges: Zahn’s criteria and the neighborhood depth
Inconsistent edges: Zahn's criteria and the neighborhood depth