liveBook · Manning

Feature bundle

As explained in Machine Learning System Design

A set of related features consolidated into one computational and operational unit because they share keys, lineage, or transformations.

A feature bundle consolidates related features from the same data sources when they share a key, lineage, and transformations. It replaces separate column-level pipelines with one computational unit. section 11.4.2

Related price features

Price before discount, price after discount, and price after applying a promotion can form one bundle because they share a key, lineage, and similar transforms or filters. section 11.4.2

A practical feature-bundle design should:

  • Merge the computational graphs of features derived from the same sources. section 11.4.2
  • Expose similar features as a set through an API or UI so they can be added to a dataset simultaneously. section 11.4.2
  • Track lineage to order calculations, propagate feature-version updates, and investigate surprising behavior. section 11.4.2
Figure 11.15 A graph of feature dependencies
figure

Use the dependency graph to inspect how bundled features relate to parent computations and update order. section 11.4.2

How Machine Learning System Design covers it

How deep it goes
Explains shared keys, lineage, graph merging, and batch APIs, but stops short of implementation code.
Examples
Uses before-discount, after-discount, and promotional-price features as a shared-key, shared-lineage bundle.
What it assumes
Assumes familiarity with feature stores and data sources while establishing shared keys, transformations, and lineage from context.
What you can do after
Operate/configure feature-store APIs to compute and add related features together while tracing their dependencies.
How it connects
Connects feature stores with data lineage, directed acyclic graphs, feature versioning, and dataset construction.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Machine Learning System Design. The section links point to the parts of the book it draws on.