---
title: MLPhase
framework: createml
role: symbol
role_heading: Enumeration
path: createml/mlphase
---

# MLPhase

The possible states of a training session.

## Declaration

```swift
enum MLPhase
```

## Topics

### Retrieving session phases

- [MLPhase.initialized](createml/mlphase/initialized.md)
- [MLPhase.extractingFeatures](createml/mlphase/extractingfeatures.md)
- [MLPhase.training](createml/mlphase/training.md)
- [MLPhase.evaluating](createml/mlphase/evaluating.md)
- [MLPhase.inferencing](createml/mlphase/inferencing.md)

## Relationships

### Conforms To

- [Copyable](swift/copyable.md)
- [Decodable](swift/decodable.md)
- [Encodable](swift/encodable.md)
- [Equatable](swift/equatable.md)
- [Escapable](swift/escapable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Checking a training session’s progress

- [phase](createml/mltrainingsession/phase.md)
- [iteration](createml/mltrainingsession/iteration.md)
- [checkpoints](createml/mltrainingsession/checkpoints.md)
