<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "WirelessInsights",
  "identifier" : "/documentation/WirelessInsights/ServicePrediction/ConfidenceScore-swift.struct",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "WirelessInsights"
    ],
    "preciseIdentifier" : "s:16WirelessInsights17ServicePredictionV15ConfidenceScoreV"
  },
  "title" : "ServicePrediction.ConfidenceScore"
}
-->

# ServicePrediction.ConfidenceScore

A type that represents the confidence in various aspects of the prediction.

```
struct ConfidenceScore
```

## Topics

### Accessing prediction confidence scores

[`let prediction: ServicePrediction.Confidence`](/documentation/WirelessInsights/ServicePrediction/ConfidenceScore-swift.struct/prediction)

Confidence that the predicted event will occur.

[`let startTime: ServicePrediction.Confidence`](/documentation/WirelessInsights/ServicePrediction/ConfidenceScore-swift.struct/startTime)

Confidence of the start time if the predicted event occurs.

[`let duration: ServicePrediction.Confidence`](/documentation/WirelessInsights/ServicePrediction/ConfidenceScore-swift.struct/duration)

Confidence of the duration if the predicted event occurs.

[`enum Confidence`](/documentation/WirelessInsights/ServicePrediction/Confidence)

An enumeration of levels of confidence for a prediction or one of its properties.

### Encoding and decoding

### Hashing

### Comparing confidence scores

## Relationships

### Conforms To

[`Decodable`](/documentation/Swift/Decodable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Hashable`](/documentation/Swift/Hashable)

[`Equatable`](/documentation/Swift/Equatable)

[`Sendable`](/documentation/Swift/Sendable)

[`Encodable`](/documentation/Swift/Encodable)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)