FeatureDefinition - Amazon SageMaker

FeatureDefinition

A list of features. You must include FeatureName and FeatureType. Valid feature FeatureTypes are Integral, Fractional and String.

Contents

FeatureName

The name of a feature. The type must be a string. FeatureName cannot be any of the following: is_deleted, write_time, api_invocation_time.

The name:

  • Must start and end with an alphanumeric character.

  • Can only include alphanumeric characters, underscores, and hyphens. Spaces are not allowed.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 64.

Pattern: ^[a-zA-Z0-9]([-_]*[a-zA-Z0-9]){0,63}

Required: Yes

FeatureType

The value type of a feature. Valid values are Integral, Fractional, or String.

Type: String

Valid Values: Integral | Fractional | String

Required: Yes

CollectionConfig

Configuration for your collection.

Type: CollectionConfig object

Note: This object is a Union. Only one member of this object can be specified or returned.

Required: No

CollectionType

A grouping of elements where each element within the collection must have the same feature type (String, Integral, or Fractional).

  • List: An ordered collection of elements.

  • Set: An unordered collection of unique elements.

  • Vector: A specialized list that represents a fixed-size array of elements. The vector dimension is determined by you. Must have elements with fractional feature types.

Type: String

Valid Values: List | Set | Vector

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: