pub fn kmeans_distance_query() -> ZipTermExpand description
The distance a feature adds in Spatial’s Kmeans regression app (pir/regression/Kmeans.scala), transcribed:
(pts(pt,d) - cts(ct,d)) ** 2 over the point’s feature and the centroid’s, read in that order.