FeatureCatalog Class | FeatureStore | Teradata Package for Python - FeatureCatalog Class - Teradata Package for Python

Teradata® Package for Python User Guide

Deployment
VantageCloud
VantageCore
Edition
VMware
Enterprise
IntelliFlex
Product
Teradata Package for Python
Release Number
20.00
Published
March 2025
ft:locale
en-US
ft:lastEdition
2025-12-05
dita:mapPath
nvi1706202040305.ditamap
dita:ditavalPath
plt1683835213376.ditaval
dita:id
rkb1531260709148
Product Category
Teradata Vantage

Use the FeatureCatalog class to provide catalog functionality for features.

Syntax

FeatureCatalog(repo, data_domain=None)

Required Parameter

repo
Specifies the name of the repository to which feature catalog points.

If a feature store is not set up on the repository, it will return an error.

Optional Parameter

data_domain
Specifies the name of the data domain the feature catalog refers to.

If not specified, then default database is used as the data domain.

Example setup

>>> from teradataml import FeatureCatalog

Example: Create a feature catalog

Create a feature store repository 'vfs_v1'.

>>> from teradataml import FeatureStore
>>> fs = FeatureStore(repo='vfs_v1', data_domain='sales')
repo vfs_v1 does not exist. Run FeatureStore.setup() to create the repo and setup FeatureStore.

Set up the feature store for this repository.

>>> fs.setup()
True

Create a FeatureCatalog object.

>>> feature_catalog = FeatureCatalog(repo='vfs_v1', data_domain='sales')
>>> feature_catalog
FeatureCatalog(repo=vfs_v1, data_domain=sales)