Contents

recallScore(label:)

Computes the recall score for a class label.

Declaration

func recallScore(label: Label) -> Double

Parameters

  • label:

    The label to use as true positive.

Return Value

The recall score for the given label.

Discussion

Precision score is computed as the ratio tp / (tp + fn) where tp is the number of true positives and fn is the number of false negatives.

See Also

Computing and scoring