Use the get_feature_catalog() method to retrieve the FeatureCatalog based on the feature store's repo and data domain.
There are no parameters for this function.
Example setup
>>> from teradataml import FeatureStore
Example: Get the FeatureCatalog
Create FeatureStore for repo 'vfs_v1'.
>>> fs = FeatureStore('vfs_v1')
Repo vfs_v1 does not exist. Run FeatureStore.setup() to create the repo and setup FeatureStore.
Set up FeatureStore for this repository.
>>> fs.setup()
True
Load the sales data to the database.
>>> from teradataml import load_example_data
>>> load_example_data("dataframe", "sales")
>>> df = DataFrame("sales")
Create a feature process.
>>> from teradataml import FeatureProcess >>> fp = FeatureProcess(repo="vfs_v1", ... data_domain='sales', ... object=df, ... entity="accounts", ... features=["Jan", "Feb", "Mar", "Apr"]) >>> fp.run()
Process '5747082b-4acb-11f0-a2d7-f020ffe7fe09' started. Process '5747082b-4acb-11f0-a2d7-f020ffe7fe09' completed.
Get FeatureCatalog from FeatureStore.
>>> fs.get_feature_catalog()
FeatureCatalog(repo=vfs_v1, data_domain=sales)