Contents

evaluation(on:textColumn:labelColumn:)

Computes evaluation metrics.

Declaration

func evaluation(on dataFrame: DataFrame, textColumn: String, labelColumn: String) -> MLClassifierMetrics

Parameters

  • 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.

See Also

Evaluating a text classifier