snowflake.ml.model.model_signature.BaseFeatureSpec¶
- class snowflake.ml.model.model_signature.BaseFeatureSpec(name: str)¶
Bases:
ABC
Abstract Class for specification of a feature.
Methods
- abstract as_snowpark_type() DataType ¶
Convert to corresponding Snowpark Type.
- abstract classmethod from_dict(input_dict: Dict[str, Any]) BaseFeatureSpec ¶
Deserialization
- abstract to_dict() Dict[str, Any] ¶
Serialization
Attributes
- name¶
Name of the feature.