Class

MLArrayBatchProvider

A convenience wrapper for batches of feature providers.

Declaration

@interface MLArrayBatchProvider : NSObject

Overview

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

Topics

Initializers

- initWithFeatureProviderArray:

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

- initWithDictionary:error:

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

Accessing the Feature Providers

array

The array of feature providers.

Relationships

Inherits From

Conforms To

See Also

Model Features

MLFeatureValue

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

MLFeatureProvider

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

MLDictionaryFeatureProvider

A convenience wrapper for the given dictionary of data.

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