Materializes a FeatureGroup object using a small observation set of up to 50 rows. Unlike compute_historical_features, this method does not store partial aggregations (tiles) to speed up future computation. Instead, it computes the features on the fly, and should be used only for small observation sets for debugging or prototyping unsaved features.
The small observation set should combine historical points-in-time and key values of the primary entity from the feature group. Associated serving entities can also be utilized.
- observation_set: Union[ObservationTable, DataFrame]
Observation set with
POINT_IN_TIMEand serving names columns. This can be either an ObservationTable or a pandas DataFrame.
- serving_names_mapping: Union[Dict[str, str], NoneType]
Optional serving names mapping if the observation table has different serving name
- Union[DataFrame, NoneType]
Materialized feature values. The returned DataFrame will have the same number of rows, and include all columns from the observation set.
POINT_IN_TIME values will be converted to UTC time.
Preview request failed
Create a feature group with two features.