FeatureDefinition
¶
Source code in docs_src/capo_sagemaker/types/feature_definition.py
collection_config
instance-attribute
¶
collection_config: NotRequired[CollectionConfig]
Configuration for your collection.
collection_type
instance-attribute
¶
collection_type: NotRequired[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.
feature_name
instance-attribute
¶
feature_name: NotRequired[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 with an alphanumeric character.
-
Can only include alphanumeric characters, underscores, and hyphens. Spaces are not allowed.
feature_type
instance-attribute
¶
feature_type: NotRequired[FeatureType]
The value type of a feature. Valid values are Integral, Fractional, or String.