diff options
Diffstat (limited to 'km-solve.c')
-rw-r--r-- | km-solve.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -163,6 +163,7 @@ km_solve( mean_nears[row_map[i].cluster] += row_map[i].d2_near; // calculate silouette denominator + // (https://en.wikipedia.org/wiki/Silhouette_%28clustering%29) const float delta = row_map[i].d2_near - row_map[i].d2; if (fabsf(delta) > MIN_CLUSTER_DISTANCE) { silouette += delta / MAX(row_map[i].d2, row_map[i].d2_near); |