Skip to main content

kmeans_distance_query

Function kmeans_distance_query 

Source
pub fn kmeans_distance_query() -> ZipTerm
Expand 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.