---
title: "MultiLabelClassificationMetrics.ThresholdSelectionStrategy.precision(_:minimumRecall:)"
framework: createmlcomponents
role: symbol
role_heading: Case
path: "createmlcomponents/multilabelclassificationmetrics/thresholdselectionstrategy/precision(_:minimumrecall:)"
---

# MultiLabelClassificationMetrics.ThresholdSelectionStrategy.precision(_:minimumRecall:)

A confidence threshold strategy for a specific precision that has at least a minimum recall value.

## Declaration

```swift
case precision(Float, minimumRecall: Float)
```

## Discussion

Discussion This strategy selects a threshold for each label by searching for the specified precision value on the label’s precision-recall curve. At the precision, the recall must be greater than or equal to the minimum recall value, otherwise a NaN threshold for the corresponding label is returned. Use this strategy to reduce the rate of false-positive predictions while constraining the false-negative predictions.

## See Also

### Selection strategies

- [MultiLabelClassificationMetrics.ThresholdSelectionStrategy.balancedPrecisionAndRecall](createmlcomponents/multilabelclassificationmetrics/thresholdselectionstrategy/balancedprecisionandrecall.md)
- [MultiLabelClassificationMetrics.ThresholdSelectionStrategy.fixed(_:)](createmlcomponents/multilabelclassificationmetrics/thresholdselectionstrategy/fixed(_:).md)
- [MultiLabelClassificationMetrics.ThresholdSelectionStrategy.recall(_:minimumPrecision:)](createmlcomponents/multilabelclassificationmetrics/thresholdselectionstrategy/recall(_:minimumprecision:).md)
