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.
KMeansGrouping
K-Means grouping result
Operations
Get #
Get a group by index
method : public : Get(i:Int) ~ KMeansGroupParameters
| Name | Type | Description |
|---|---|---|
| i | Int | index |
Return
| Type | Description |
|---|---|
| KMeansGroup | group |
GetDunnIndex #
Calculates the Dunn index
method : public : GetDunnIndex() ~ FloatReturn
| Type | Description |
|---|---|
| Float | Dunn index, higher values indicate more distinct clusters |
GetGroup #
Get a group by name
method : public : GetGroup(name:String) ~ KMeansGroupParameters
| Name | Type | Description |
|---|---|---|
| name | String | group name |
Return
| Type | Description |
|---|---|
| KMeansGroup | group |
GetGroupNames #
Get an array of group names
method : public : GetGroupNames() ~ String[]Return
| Type | Description |
|---|---|
| String | array of group names |