---
title: trainingMetrics
framework: createml
role: symbol
role_heading: Instance Property
path: createml/mllinearregressor/trainingmetrics
---

# trainingMetrics

Measurements of the regressor’s performance on the training data set.

## Declaration

```swift
var trainingMetrics: MLRegressorMetrics { get }
```

## See Also

### Evaluating a linear regressor

- [evaluation(on:)](createml/mllinearregressor/evaluation(on:).md)
- [validationMetrics](createml/mllinearregressor/validationmetrics.md)
