---
title: MLProgress
framework: createml
role: symbol
role_heading: Structure
path: createml/mlprogress
---

# MLProgress

A convenience type that exposes information about the progress of a training session.

## Declaration

```swift
struct MLProgress
```

## Overview

Overview Create ML uses this type to exposes specific values within a Progress instance as properties.

## Topics

### Creating a training progress update

- [init(phase:)](createml/mlprogress/init(phase:).md)
- [init(progress:)](createml/mlprogress/init(progress:).md)

### Inspecting a session’s progress

- [elapsedTime](createml/mlprogress/elapsedtime.md)
- [phase](createml/mlprogress/phase.md)
- [itemCount](createml/mlprogress/itemcount.md)
- [totalItemCount](createml/mlprogress/totalitemcount.md)
- [metrics](createml/mlprogress/metrics.md)
- [MLProgress.Metric](createml/mlprogress/metric.md)

### Accessing general information

- [elapsedTimeKey](createml/mlprogress/elapsedtimekey.md)
- [phaseKey](createml/mlprogress/phasekey.md)
- [itemCountKey](createml/mlprogress/itemcountkey.md)
- [totalItemCountKey](createml/mlprogress/totalitemcountkey.md)

### Accessing assessment metrics

- [accuracyKey](createml/mlprogress/accuracykey.md)
- [lossKey](createml/mlprogress/losskey.md)
- [validationAccuracyKey](createml/mlprogress/validationaccuracykey.md)
- [validationLossKey](createml/mlprogress/validationlosskey.md)

### Accessing style transfer metrics

- [contentLossKey](createml/mlprogress/contentlosskey.md)
- [styleLossKey](createml/mlprogress/stylelosskey.md)
- [stylizedImageKey](createml/mlprogress/stylizedimagekey.md)

### Accessing error information

- [maximumErrorKey](createml/mlprogress/maximumerrorkey.md)
- [rootMeanSquaredErrorKey](createml/mlprogress/rootmeansquarederrorkey.md)
- [validationMaximumErrorKey](createml/mlprogress/validationmaximumerrorkey.md)
- [validationRootMeanSquaredErrorKey](createml/mlprogress/validationrootmeansquarederrorkey.md)

### Encoding and decoding a session’s progress

- [encode(to:)](createml/mlprogress/encode(to:).md)
- [init(from:)](createml/mlprogress/init(from:).md)

## Relationships

### Conforms To

- [Decodable](swift/decodable.md)
- [Encodable](swift/encodable.md)

## See Also

### Inspecting a job

- [startDate](createml/mljob/startdate.md)
- [progress](createml/mljob/progress.md)
