Skip to content

Feature View User Guides#

A feature view is a query over feature groups plus the metadata a model needs to read it consistently. These guides cover creating one, reading training and inference data, and keeping the two aligned.

  • Start here


    Select features from one or more feature groups and save the selection as a feature view.

    query = trans_fg.select_all().join(profile_fg.select(["age"]))
    fv = fs.get_or_create_feature_view(
        name="transactions_fraud",
        version=1,
        query=query,
        labels=["fraud_label"],
    )
    

    Create a feature view · Training data · Feature vectors

Create

Read

  • Training data Splits by ratio or time, materialised or in memory.
  • Batch data Inference data for a time range, with transformations applied.
  • Feature vectors Single or batched online lookups by serving key.
  • Feature server Online lookups over REST, without the Python client.

Observe