---
title: probability
framework: createmlcomponents
role: symbol
role_heading: Instance Property
path: createmlcomponents/classification/probability
---

# probability

The classification probability. A value between 0 and 1.

## Declaration

```swift
var probability: Float
```

## See Also

### Getting the properties

- [label](createmlcomponents/classification/label.md)
