Class

MLArrayBatchProvider

A convenience wrapper for batches of feature providers.

Declaration

class MLArrayBatchProvider : NSObject

Overview

This batch provider supports an array of feature providers or a dictionary of arrays of feature values.

Topics

Initializers

init(array: [MLFeatureProvider])

Creates the batch provider based on the array of feature providers.

init(dictionary: [String : [Any]])

Creates a batch provider based on feature names and their associated arrays of data.

Accessing the Feature Providers

var array: [MLFeatureProvider]

The array of feature providers.

Relationships

Inherits From

See Also

Model Features

class MLFeatureValue

A feature's value and its type bundled as a read-only instance.

protocol MLFeatureProvider

An interface that represents a collection of values for either a model's input or its output.

class MLDictionaryFeatureProvider

A convenience wrapper for the given dictionary of data.

protocol MLBatchProvider

An interface that represents a collection of feature providers.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software