---
title: "init(confidenceThresholds:)"
framework: createmlcomponents
role: symbol
role_heading: Initializer
path: "createmlcomponents/multilabelclassificationmetrics/init(confidencethresholds:)"
---

# init(confidenceThresholds:)

Creates empty multi-label classification metrics.

## Declaration

```swift
init(confidenceThresholds: [Label : Float])
```

## Parameters

- `confidenceThresholds`: A dictionary of label and confidence thresholds.

## See Also

### Creating the distribution

- [init(_:strategy:)](createmlcomponents/multilabelclassificationmetrics/init(_:strategy:).md)
- [init(_:strategy:labels:)](createmlcomponents/multilabelclassificationmetrics/init(_:strategy:labels:).md)
- [init(classifications:groundTruth:strategy:)](createmlcomponents/multilabelclassificationmetrics/init(classifications:groundtruth:strategy:).md)
- [init(classifications:groundTruth:strategy:labels:)](createmlcomponents/multilabelclassificationmetrics/init(classifications:groundtruth:strategy:labels:).md)
- [MultiLabelClassificationMetrics.ThresholdSelectionStrategy](createmlcomponents/multilabelclassificationmetrics/thresholdselectionstrategy.md)
