<br />

Classification results for a given classifier head.

**Signature:**

```typescript
export declare interface Classifications 
```

## Properties

| Property | Modifiers | Type | Description |
|---|---|---|---|
| [categories](https://developers.google.com/edge/api/mediapipe/js/tasks-vision.classifications.md.txt#classificationscategories) |   | Category\[\] | The array of predicted categories, usually sorted by descending scores, e.g., from high to low probability. |
| [headIndex](https://developers.google.com/edge/api/mediapipe/js/tasks-vision.classifications.md.txt#classificationsheadindex) |   | number | The index of the classifier head these categories refer to. This is useful for multi-head models. |
| [headName](https://developers.google.com/edge/api/mediapipe/js/tasks-vision.classifications.md.txt#classificationsheadname) |   | string | The name of the classifier head, which is the corresponding tensor metadata name. Defaults to an empty string if there is no such metadata. |

## Classifications.categories

The array of predicted categories, usually sorted by descending scores, e.g., from high to low probability.

**Signature:**

```typescript
categories: Category[];
```

## Classifications.headIndex

The index of the classifier head these categories refer to. This is useful for multi-head models.

**Signature:**

```typescript
headIndex: number;
```

## Classifications.headName

The name of the classifier head, which is the corresponding tensor metadata name. Defaults to an empty string if there is no such metadata.

**Signature:**

```typescript
headName: string;
```