You are viewing documentation about an older version (1.7.0). View latest version

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.