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) ~ FloatArrayRefParameters
| Name | Type | Description |
|---|---|---|
| i | Int | index |
Return
| Type | Description |
|---|---|
| FloatArrayRef | array |
GetArrayValue #
Get group values as an array
method : public : GetArrayValue(i:Int) ~ Float[]Parameters
| Name | Type | Description |
|---|---|---|
| i | Int | index |
Return
| Type | Description |
|---|---|
| Float | group values as an array |
GetArrayValues # native
Get group as a value matrix
method : public : native : GetArrayValues() ~ Float[,]Return
| Type | Description |
|---|---|
| Float | value matrix |
GetName #
Get the name of the group
method : public : GetName() ~ StringReturn
| Type | Description |
|---|---|
| String | name of the group |
GetValues #
Get group values
method : public : GetValues() ~ Vector<FloatArrayRef>Return
| Type | Description |
|---|---|
| Vector<FloatArrayRef> | group values |