---
title: "recallScore(for:)"
framework: createmlcomponents
role: symbol
role_heading: Instance Method
path: "createmlcomponents/multilabelclassificationmetrics/recallscore(for:)"
---

# recallScore(for:)

Computes the recall score for a class label.

## Declaration

```swift
func recallScore(for label: Label) -> Float
```

## Parameters

- `label`: The label to use as true positive.

## Return Value

Return Value The recall score for the given label.

## Discussion

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

## See Also

### Computing and scoring

- [count(of:)](createmlcomponents/multilabelclassificationmetrics/count(of:).md)
- [f1Score(for:)](createmlcomponents/multilabelclassificationmetrics/f1score(for:).md)
- [falseNegativeCount(of:)](createmlcomponents/multilabelclassificationmetrics/falsenegativecount(of:).md)
- [falsePositiveCount(of:)](createmlcomponents/multilabelclassificationmetrics/falsepositivecount(of:).md)
- [precisionScore(for:)](createmlcomponents/multilabelclassificationmetrics/precisionscore(for:).md)
- [trueNegativeCount(of:)](createmlcomponents/multilabelclassificationmetrics/truenegativecount(of:).md)
- [truePositiveCount(of:)](createmlcomponents/multilabelclassificationmetrics/truepositivecount(of:).md)
