---
title: "restoreTrainingSession(sessionParameters:)"
framework: createml
role: symbol
role_heading: Type Method
path: "createml/mlhandactionclassifier/restoretrainingsession(sessionparameters:)"
---

# restoreTrainingSession(sessionParameters:)

Recreates an asynchronous hand action classifier’s training session by restoring its saved state from the file system.

## Declaration

```swift
static func restoreTrainingSession(sessionParameters: MLTrainingSessionParameters) throws -> MLTrainingSession<MLHandActionClassifier>
```

## Parameters

- `sessionParameters`: The same doc://com.apple.createml/documentation/CreateML/MLTrainingSessionParameters instance that created an existing training session.

## Return Value

Return Value An MLTrainingSession that represents the hand action classifier training session.

## See Also

### Training a hand action classifier asynchronously

- [train(trainingData:parameters:sessionParameters:)](createml/mlhandactionclassifier/train(trainingdata:parameters:sessionparameters:).md)
- [makeTrainingSession(trainingData:parameters:sessionParameters:)](createml/mlhandactionclassifier/maketrainingsession(trainingdata:parameters:sessionparameters:).md)
- [resume(_:)](createml/mlhandactionclassifier/resume(_:).md)
