---
title: "init(dictionary:)"
framework: coreml
role: symbol
role_heading: Initializer
path: "coreml/mldictionaryfeatureprovider/init(dictionary:)"
---

# init(dictionary:)

Creates the feature provider based on a dictionary.

## Declaration

```swift
init(dictionary: [String : Any]) throws
```

## Parameters

- `dictionary`: The dictionary of feature names and feature values.
