---
title: confidence
framework: soundanalysis
role: symbol
role_heading: Instance Property
path: soundanalysis/snclassification/confidence
---

# confidence

The confidence value the model has in its prediction.

## Declaration

```swift
var confidence: Double { get }
```

## Discussion

Discussion The model assigns confidence values in the range [0, 1.0], where 1.0 represents 100% confidence.

## See Also

### Inspecting a Classification

- [identifier](soundanalysis/snclassification/identifier.md)
