The FeatureStore class is the core framework that interacts with Teradata Enterprise Feature Store. It provides functionality to manage features, entities, data sources, and feature groups in a centralized repository.
Syntax
FeatureStore(repo, data_domain=None, check=True)
Required Parameter
- repo
- Specifies the repository name.
Optional Parameters
- data_domain
- Specifies the data domain to which FeatureStore points to.
If not specified, then default database name is considered as data domain.
data_domain is case-insensitive.
- check
- Specifies whether to check the existence of the Feature store database objects or not. When set to True, the method checks for the existence of Feature store database objects. Otherwise, the method does not verify the existence of Feature store database objects.
Default value: True
Example: Create an instance of FeatureStore for repository 'vfs_v1'
>>> from teradataml import FeatureStore >>> fs = FeatureStore(repo='vfs_v1')
Repo vfs_v1 does not exist. Run FeatureStore.setup() to create the repo and setup FeatureStore.
>>> fs.setup()
True
>>> fs
VantageFeatureStore(vfs_v1)-v2.0.0