A feature hierarchy organizes calculations so that each feature can depend on other features or data sources. Instead of repeatedly querying raw warehouse data, reusable parent features—such as preaggregations—feed child features. This reduces repeated computation and makes dependencies explicit. section 11.4.2
Use the hierarchy to manage feature computation and change:
- Represent feature lineage as a directed acyclic graph so calculations run in dependency order. section 11.4.2
- Update child features when a parent implementation changes, including the resulting feature-version updates. section 11.4.2
- Trace surprising values or outliers back to their sources, simplifying debugging and analysis. section 11.4.2
Figure 11.15 A graph of feature dependencies
Explore the dependency graph connecting parent and child features. section 11.4.2
