Skip to content

featurebyte.FeatureGroup

class FeatureGroup(
items: Sequence[Union[Feature, BaseFeatureGroup]],
)

Description

FeatureGroup class is the constructor class to create a FeatureGroup object. A FeatureGroup is a temporary collection of Feature objects that enables the easy management of features and creation of a feature list.

Note that while FeatureGroup has a save function, it is actually the individual Feature objects within this feature group that get added to the catalog. To add a FeatureGroup to the catalog, you need first to convert it into a FeatureList object.

Parameters

  • items: Sequence[Union[Feature, BaseFeatureGroup]]
    A sequence that consists of Feature, FeatureList, and FeatureGroup objects. This sequence is used to create a new FeatureGroup that contains the Feature objects found within the provided items.