Skip to main content

lower_kmeans_source

Function lower_kmeans_source 

Source
pub fn lower_kmeans_source(
    source: &str,
    p: KmeansPar,
) -> Result<(usize, usize, usize, usize, String, String), String>
Expand description

A LOGOS k-means clustering — whose distance is kmeans_distance_query — emitted as Spatial’s Kmeans regression app at the knobs p: (n, k, features + 1, epochs, class name, Spatial source) (the app’s N, K, D and runtime I), or a typed reason. The class name carries the shape, the epochs and every knob in Spatial’s parameter order.