name: serve-a-feature-set-to-a-model description: Serve a versioned feature set to a model with consistent values, latency limits and a null policy. Use when the user wants training and serving to read the same feature definitions. domain: data-engineering tags: [feature-store, model-serving, mlops] triggers: ["feature set for model", "serve features to a model", "feature store serving"]
Serve a versioned feature set to a model with consistent values, latency limits and a null policy
Purpose
Serve a versioned feature set to a model with consistent values, latency limits and a null policy.
When to use
Use when the user wants training and serving to read the same feature definitions.
When NOT to use
Do not use this for exploratory analysis of a small local dataset; use data-analysis instead.
Inputs required
- The source systems and their schemas
- The freshness, volume and quality targets
- The consumer of the output and its contract
Procedure
- Version the feature set and pin the code and training window that built it.
- Validate schema, value ranges and null rates against the training snapshot.
- Publish a lookup service or materialized table with a stated latency target.
- Confirm point-in-time correctness for each training row before retraining.
- Monitor feature drift against training statistics on a weekly schedule.
Output contract
A pipeline or job that produces a documented, quality-checked dataset at the agreed freshness.
Validation checklist
- The output matches the agreed schema
- Freshness and row-count checks pass
- A rerun is idempotent
Safety notes
Never rewrite a production table without a backup and a dry run.
Related skills
build-a-raw-to-curated-data-layerexpose-a-stream-to-warehouse-syncimplement-idempotent-writes-to-a-warehouse
