<br />

Result of evaluating a Choice.

**Signature:**

```typescript
export declare interface ChoiceResult 
```

## Properties

| Property | Modifiers | Type | Description |
|---|---|---|---|
| [selectedKey](https://developers.google.com/edge/api/mediapipe/js/tasks-decision.choiceresult.md.txt#choiceresultselectedkey) |   | string | The winning choice key with highest probability. |
| [probabilities](https://developers.google.com/edge/api/mediapipe/js/tasks-decision.choiceresult.md.txt#choiceresultprobabilities) |   | Record\<string, number\> | Probability distribution across all candidate choice keys. |
| [confidence](https://developers.google.com/edge/api/mediapipe/js/tasks-decision.choiceresult.md.txt#choiceresultconfidence) |   | number | Normalized certainty confidence in \[0.0, 1.0\]. |
| [predictionSet](https://developers.google.com/edge/api/mediapipe/js/tasks-decision.choiceresult.md.txt#choiceresultpredictionset) |   | string\[\] | Conformal prediction set of candidate choice keys covering \>= 90% probability mass (size == 1 to execute immediately; size \> 1 to escalate or disambiguate). |

## ChoiceResult.selectedKey

The winning choice key with highest probability.

**Signature:**

```typescript
selectedKey: string;
```

## ChoiceResult.probabilities

Probability distribution across all candidate choice keys.

**Signature:**

```typescript
probabilities: Record<string, number>;
```

## ChoiceResult.confidence

Normalized certainty confidence in \[0.0, 1.0\].

**Signature:**

```typescript
confidence: number;
```

## ChoiceResult.predictionSet

Conformal prediction set of candidate choice keys covering \>= 90% probability mass (size == 1 to execute immediately; size \> 1 to escalate or disambiguate).

**Signature:**

```typescript
predictionSet: string[];
```