Skip to content

Commit b40cee3

Browse files
attempt to fix long clustering formula via linewrap
1 parent 6f937dc commit b40cee3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

source/clustering.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,8 @@ In the {glue:text}`clus_rows_glue`-observation cluster example above,
396396
we would compute the WSSD $S^2$ via
397397

398398

399-
$S^2 = \left((x_1 - \mu_x)^2 + (y_1 - \mu_y)^2\right) + \left((x_2 - \mu_x)^2 + (y_2 - \mu_y)^2\right) + \left((x_3 - \mu_x)^2 + (y_3 - \mu_y)^2\right) + \left((x_4 - \mu_x)^2 + (y_4 - \mu_y)^2\right)$
399+
$S^2 = \left((x_1 - \mu_x)^2 + (y_1 - \mu_y)^2\right) + \left((x_2 - \mu_x)^2 + (y_2 - \mu_y)^2\right)$
400+
$ + \left((x_3 - \mu_x)^2 + (y_3 - \mu_y)^2\right) + \left((x_4 - \mu_x)^2 + (y_4 - \mu_y)^2\right)$
400401

401402
These distances are denoted by lines in {numref}`toy-example-clus1-dists` for the first cluster of the penguin data example.
402403

0 commit comments

Comments
 (0)