Skip to content

Feature

Feature is a pydantic data structure for holding feature type and shape information for a given feature. It is used in the DataInterface class to automatically store feature information.

opsml.types.Feature

Bases: BaseModel

Source code in opsml/types/model.py
107
108
109
class Feature(BaseModel):
    feature_type: str
    shape: Tuple[Any, ...]