---
title: "init(checkpoint:)"
framework: createml
role: symbol
role_heading: Initializer
path: "createml/mldecisiontreeregressor/init(checkpoint:)"
---

# init(checkpoint:)

Creates a decision tree regressor  from a checkpoint.

## Declaration

```swift
init(checkpoint: MLCheckpoint) throws
```

## Parameters

- `checkpoint`: Training checkpoint.

## Discussion

Discussion note: MLCreateError if the checkpoint can’t be loaded.
