---
title: "removeCheckpoints(_:)"
framework: createml
role: symbol
role_heading: Instance Method
path: "createml/mltrainingsession/removecheckpoints(_:)"
---

# removeCheckpoints(_:)

Removes the checkpoints that satisfy your closure from the training session.

## Declaration

```swift
final func removeCheckpoints(_ predicate: (MLCheckpoint) -> Bool) throws
```

## Parameters

- `predicate`: A closure that returns a Boolean indicating whether to remove a checkpoint.
