Class

MLModelDescription

Information about a model, primarily the expected input and output format for each feature, and optional metadata.

Declaration

@interface MLModelDescription : NSObject

Topics

Accessing Feature Descriptions

inputDescriptionsByName

Descriptions of this model's various input features, keyed by each feature's name.

outputDescriptionsByName

Descriptions of this model's various output features, keyed by each feature's name.

MLFeatureDescription

The name, type, and constraints of an input or output feature.

Accessing Metadata

metadata

Metadata object that has information related to the model, as defined by the keys in the MLModelMetadataKey.

MLModelMetadataKey

Keys for the metadata dictionary used by the model.

Accessing Prediction Names

predictedFeatureName

The name of the value that is being predicted.

predictedProbabilitiesName

The name of the probabilities for the prediction.

Relationships

Inherits From

See Also

Inspecting a Model

configuration

The configuration of the model set during initialization.

modelDescription

Information about this model, intended for use during development, which is also displayed in the Xcode view of the model.