TD_TargetEncodingFit Output - Teradata VantageCloud Lake

Lake - Analyze Your Data with ClearScape Analytics™

Deployment
VantageCloud
Edition
Lake
Product
Teradata VantageCloud Lake
Release Number
Published
February 2025
ft:locale
en-US
ft:lastEdition
2026-02-20
dita:mapPath
tcl1683670667798.ditamap
dita:ditavalPath
pny1626732985837.ditaval
dita:id
tcl1683670667798

TD_TargetEncodingFit Primary Output Table Schema

The CBM_BETA encoder output schema is as follows:

Column Name Data Type Description Charset MaxValueLen
TD_ColumnName_TEFIT VARCHAR Contains the names of the target column. Unicode 128 characters
TD_Category_TEFIT VARCHAR Contains the category values for each of the target columns. Unicode 128 characters
TD_Alpha_TEFIT REAL Contains the hyperparameter value. Not applicable Not applicable
TD_Beta_TEFIT REAL Contains the hyperparameter value. Not applicable Not applicable
TD_DefaultCategory_TEFIT REAL Contains the default values. Not applicable Not applicable
TD_CategoryCount_TEFIT SMALLINT Contains the count of the categories. Not applicable Not applicable
TD_ColumnIndex_TEFIT SMALLINT Contains the index for the target columns. Not applicable Not applicable
TD_EncoderMethod_TEFIT_CBM_BETA BYTEINT Stores the name of the encoder method. Not applicable Not applicable
target_column_i Same as InputTable Column names copied to fit output. Needed in TD_TargetEncodingTransform function. Not applicable Not applicable

The CBM_DIRICHLET encoder output schema is as follows:

Column Name Data Type Description Charset MaxValueLen
TD_ColumnName_TEFIT VARCHAR Contains the names of the target column. Unicode 128 characters
TD_Category_TEFIT VARCHAR Contains the category values for each of the target columns. Unicode 128 characters
TD_Alpha_k_TEFIT_target_column_i REAL Contains the hyperparameter value. Not applicable Not applicable
TD_DefaultCategory_TEFIT REAL Contains the default values. Not applicable Not applicable
TD_CategoryCount_TEFIT SMALLINT Contains the count of the categories. Not applicable Not applicable
TD_ColumnIndex_TEFIT SMALLINT Contains the index for the target columns. Not applicable Not applicable
TD_EncoderMethod_TEFIT_CBM_DIRICHLET BYTEINT Stores the name of the encoder method. Not applicable Not applicable
TD_NumResponses_TEFIT_K BYTEINT Stores the name of the NumDistinctResponses value. Not applicable Not applicable

The CBM_GAUSSIAN_INVERSE_GAMMA encoder output schema is as follows:

Column Name Data Type Description Charset MaxValueLen
TD_ColumnName_TEFIT VARCHAR Contains the names of the target column. Unicode 128 characters
TD_Category_TEFIT VARCHAR Contains the category values for each of the target columns. Unicode 128 characters
TD_U0_TEFIT REAL Contains the hyperparameter value. Not applicable Not applicable
TD_V0_TEFIT REAL Contains the hyperparameter value. Not applicable Not applicable
TD_Alpha0_TEFIT REAL Contains the hyperparameter value. Not applicable Not applicable
TD_Beta0_TEFIT REAL Contains the hyperparameter value. Not applicable Not applicable
TD_DefaultCategory_TEFIT REAL Contains the default values. Not applicable Not applicable
TD_CategoryCount_TEFIT SMALLINT Contains the count of the categories. Not applicable Not applicable
TD_ColumnIndex_TEFIT SMALLINT Contains the index for the target columns. Not applicable Not applicable
TD_EncoderMethod_TEFIT_CBM_GAUSSIAN_INVERSE_GAMMA BYTEINT Stores the name of the encoder method. Not applicable Not applicable
target_column_i Same as InputTable Column names copied to fit output. Needed in TD_TargetEncodingTransform function. Not applicable Not applicable

TD_TargetEncodingFit Secondary Output Table Schema

The secondary output table will have the same schema as the primary output table.