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.
SweepResult
A sensitivity sweep's table: per setting, its name and value, the confusion counts, and the AUC of the scores at that setting (-1.0 when undefined).
Operations
GetAuc #
The AUC of the scores at a row's setting (Metrics->AucRoc).
method : public : GetAuc(i:Int) ~ FloatParameters
| Name | Type | Description |
|---|---|---|
| i | Int | row |
Return
| Type | Description |
|---|---|
| Float | AUC, or -1.0 when the setting failed or one class is absent |
GetConfusion #
A row's confusion counts and rates.
method : public : GetConfusion(i:Int) ~ ConfusionMatrixParameters
| Name | Type | Description |
|---|---|---|
| i | Int | row |
Return
| Type | Description |
|---|---|
| ConfusionMatrix | counts, or Nil when the setting failed (see GetError) |
GetError #
Why a row's setting failed.
method : public : GetError(i:Int) ~ StringParameters
| Name | Type | Description |
|---|---|---|
| i | Int | row |
Return
| Type | Description |
|---|---|
| String | the reason, or an empty string |
GetName #
A row's name, e.g. "Low".
method : public : GetName(i:Int) ~ StringParameters
| Name | Type | Description |
|---|---|---|
| i | Int | row |
Return
| Type | Description |
|---|---|
| String | name |
GetSetting #
A row's setting value.
method : public : GetSetting(i:Int) ~ FloatParameters
| Name | Type | Description |
|---|---|---|
| i | Int | row |
Return
| Type | Description |
|---|---|
| Float | value |