The library documents itself · NLP & linguistics
stzKMeans
9 own methods · 0 forms written with extensions, listed under their method
the source: base/learning/stzKMeans.ring(opens in a new tab) · All classes · The area reference: NLP & linguistics
Under each method, its extensions (Q CS XT Z ZZ IB W U): bold and ticked, it exists; struck, it does not. The extensions and what they mean
Examples: 0 come from the library's tests; 2 were composed from each method's signature and run for this page, on a fresh object, for example o1 = new stzKMeans([ [1,1], [1,1], [1,1] ]). 7 methods have none yet. Examples run on 2026-10-03 12:54 inside the library at commit 0e72e2e2c.
Method
Explanation, as the source carries it
init
(no comment in the source: the name reads as a sentence) initno extension
Clusters
one pass over the assignments, not one per cluster: k scans of n were 1.28 M steps at 20,000 points into 64 (256 ms); one scan is 20,000no extension
Centroids
(no comment in the source: the name reads as a sentence) centroidsno extension
Inertia
total within-cluster squared distance -- the quality number, computed by the engine at the end of the run over the same distance (cluster.zig)no extension
composed example
o1 = new stzKMeans([ [1,1], [1,1], [1,1] ]) ? o1.Inertia() #--> 0composed from the signature, run for this page
Iterations
(no comment in the source: the name reads as a sentence) iterationsno extension
composed example
o1 = new stzKMeans([ [1,1], [1,1], [1,1] ]) ? o1.Iterations() #--> 0composed from the signature, run for this page
Why
(no comment in the source: the name reads as a sentence) whyno extension

