v2026.6.4
All Bundles
Bundle Core machine learning types: the seedable Random generator, Matrix2D linear algebra and activations, matrix reference holders, the NeuralNetwork and CSV-backed MatrixReader. Compile with -lib ml.

KMeansGroup

KMeans group

Operations

Get #

Get array by index

method : public : Get(i:Int) ~ FloatArrayRef

Parameters

NameTypeDescription
iIntindex

Return

TypeDescription
FloatArrayRefarray

GetArrayValue #

Get group values as an array

method : public : GetArrayValue(i:Int) ~ Float[]

Parameters

NameTypeDescription
iIntindex

Return

TypeDescription
Floatgroup values as an array

GetArrayValues # native

Get group as a value matrix

method : public : native : GetArrayValues() ~ Float[,]

Return

TypeDescription
Floatvalue matrix

GetName #

Get the name of the group

method : public : GetName() ~ String

Return

TypeDescription
Stringname of the group

GetValues #

Get group values

method : public : GetValues() ~ Vector<FloatArrayRef>

Return

TypeDescription
Vector<FloatArrayRef>group values

Size #

Get the size of the group

method : public : Size() ~ Int

Return

TypeDescription
Intsize of the group

ToString #

String representation of the object

method : public : ToString() ~ String

Return

TypeDescription
Stringgroups representation of the object