[**axiom v0.51.1**](../../../README.md)

***

[axiom](../../../README.md) / [scorers/aggregations](../README.md) / Mean

# Function: Mean()

> **Mean**(): [`Aggregation`](../type-aliases/Aggregation.md)\<`"mean"`\>

Computes the arithmetic mean of all trial scores.

## Returns

[`Aggregation`](../type-aliases/Aggregation.md)\<`"mean"`\>

## Example

```typescript
Scorer('accuracy', fn, { aggregation: Mean() })
// scores [0.8, 0.6, 0.7] => 0.7
```
