Contents

recallScore(for:)

Computes the recall score for a class label.

Declaration

func recallScore(for label: Label) -> Float

Parameters

  • label:

    The label to use as true positive.

Return Value

The recall score for the given label.

Discussion

Recall score is computed as the ratio truePositive / (truePositive + falseNegative).

See Also

Computing and scoring