evaluation(on:textColumn:labelColumn:)
Computes evaluation metrics.
Declaration
func evaluation(on dataFrame: DataFrame, textColumn: String, labelColumn: String) -> MLClassifierMetricsParameters
- dataFrame:
A data frame containing labeled examples.
- textColumn:
The name of the text column.
- labelColumn:
The name of the label column.
Return Value
The computed metrics or an error message.