---
title: AggregateMetric
framework: evaluations
role: symbol
role_heading: Structure
path: evaluations/aggregatemetric
---

# AggregateMetric

An aggregate statistic computed from a metric’s results across the evaluation dataset.

## Declaration

```swift
struct AggregateMetric
```

## Overview

Overview let accuracy = Metric("Accuracy") let op = AggregationOperation.mean(of: accuracy) print(op.label) // "Mean of Accuracy" The summary DataFrame stores one AggregateMetric for each column. Each value records the operation that produced it, and derives its display label and source metric name from the operation.

## Topics

### Instance Properties

- [group](evaluations/aggregatemetric/group.md)
- [label](evaluations/aggregatemetric/label.md)
- [operation](evaluations/aggregatemetric/operation.md)
- [sourceMetric](evaluations/aggregatemetric/sourcemetric.md)
- [value](evaluations/aggregatemetric/value.md)

## Relationships

### Conforms To

- [Decodable](swift/decodable.md)
- [Encodable](swift/encodable.md)
- [Equatable](swift/equatable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Inspecting aggregate results

- [AggregationOperation](evaluations/aggregationoperation.md)
