Instance Method

featureValue(for:)

Accesses the feature value given the feature's name.

Required.

Declaration

func featureValue(for featureName: String) -> MLFeatureValue?

Parameters

featureName

The name of the feature of the desired value.

Return Value

The value of the feature, or nil if no value exists for that name.

See Also

Accessing Values

var featureNames: Set<String>

The set of valid feature names.

Required.