Once you’ve created your primary data sets, you can define features, labels, and training sets based on them.
dataset[[entity_col, value_col]]
. Optionally, you can set the variant. You must also specify the feature’s type, which can be one of the following: ff.Int
, ff.Int32
, ff.Int64
, ff.Float32
, ff.Float64
, ff.Timestamp
, ff.String
. Since features are typically served for inference to your trained model, you need to specify the inference store for materializing the feature.
Example:
dataset[[entity_col, value_col, timestamp_col]]
. Optionally, you can set the variant. You must also specify the feature’s type, which can be one of the following: ff.Int
, ff.Int32
, ff.Int64
, ff.Float32
, ff.Float64
, ff.Timestamp
, ff.String
, ff.Bool
. Since features are typically served for inference to your trained model, you need to specify the inference store. To maintain point-in-time correctness, only the most recent entity-feature pair is retained in the inference store.
Example:
include_columns
or register all columns except a few by specifying exclude_columns
.
Example:
features
method to serve your features.
Example:
ff.Int
, ff.Int32
, ff.Int64
, ff.Float32
, ff.Float64
, ff.Timestamp
, ff.String
, ff.Bool
. Unlike a Feature, you should not specify an inference store since labels are never served for inference.
ff.Int
, ff.Int32
, ff.Int64
, ff.Float32
, ff.Float64
, ff.Timestamp
, ff.String
, ff.Bool
. Unlike a Feature, you should not specify an inference store since labels are never served for inference.