Instance Method

isAllowedValue:

Checks whether the model will accept an input feature value.

Declaration

- (BOOL)isAllowedValue:(MLFeatureValue *)value;

Parameters

value

Given the MLFeatureValue, is it compatible with the MLFeatureType of this MLFeatureDescription.

Return Value

True if the given MLFeatureValue is acceptable to the model's input feature, false otherwise.