How Many Delivery Zones?

Classic MLMedium+20 XP+20

How Many Delivery Zones?

A bakery delivers to nine regular customers and wants to split them into delivery zones with K-Means. Their positions on the city grid, in kilometres:

customerABCDEFGHI
position(1,1)(1, 1)(1,1)(3,1)(3, 1)(3,1)(2,4)(2, 4)(2,4)(8,2)(8, 2)(8,2)(10,3)(10, 3)(10,3)(9,5)(9, 5)(9,5)(4,9)(4, 9)(4,9)(6,9)(6, 9)(6,9)(5,11)(5, 11)(5,11)

The bakery ran K-Means for K=1K = 1K=1 to 444 and got these groups:

KKKgroups
1{A, B, C, D, E, F, G, H, I}
2{A, B, C, D, E, F} and {G, H, I}
3{A, B, C}, {D, E, F} and {G, H, I}
4{A, B}, {C}, {D, E, F} and {G, H, I}

To read the elbow, they score each clustering by its within-cluster sum of squares (WCSS): take every customer's squared straight-line distance to the centroid of its own group, and add those up over all nine customers. A group's centroid is the average position of its members.

Their rule for where to stop: keep adding a zone as long as the extra zone lowers the WCSS by at least 10% of the WCSS at K=1K = 1K=1. The elbow is the KKK at which they stop adding.

What is the WCSS at the elbow? Give your answer rounded to 2 decimal places.

Hints

Solve it to unlock the solution

Once you get it right, the reasoning behind the answer shows up here.