Required Syntax Elements for TD_OneHotEncodingFit - Teradata VantageCloud Lake

Lake - Analyze Your Data with ClearScape Analytics™

Deployment
VantageCloud
Edition
Lake
Product
Teradata VantageCloud Lake
Release Number
Publication Date
February 2025
Publication ID
B700-4600-004K
ft:locale
en-US
ft:lastEdition
2026-02-20
dita:mapPath
tcl1683670667798.ditamap
dita:ditavalPath
pny1626732985837.ditaval
ft:sourceId
dita
dita:id
tcl1683670667798
ON clause
Accept the InputTable clause.
Applicable for dense and sparse input format.
IsInputDense
Specify whether the input is dense or sparse.
TargetColumn
[Required with IsInputDense ('true'), disallowed otherwise.] Specify the InputTable categorical columns to be encoded. The maximum number of unique columns in the TargetColumn argument is 2018.
CategoryCounts
[Required with AutoApproach] Specify the category counts for each of the TargetColumns. The number of values in CategoryCounts must be the same as the number of TargetColumns.
CategoricalValues
[Required with Approach as LIST and a single target column] Specify the list of categories that need to be encoded in the desired order.
If only one target column is provided, category values are read from this argument. Otherwise, they will be read from the category table. This argument is supported to keep the backward compatibility.
  • The number of characters in TargetColumnName plus the number of characters in the category specified in the CategoricalValues argument must be less than 128 characters.
  • The maximum number of categories in the CategoricalValues argument is 2018.
AttributeColumn
[Required with IsInputDense ('false'), disallowed otherwise.] Specify the name of the InputTable column of attributes.
ValueColumn
[Required with IsInputDense ('false'), disallowed otherwise.] Specify the name of the InputTable column of attribute values.
TargetAttributes
[Required with IsInputDense ('false'), disallowed otherwise.] Specify one or more attributes to encode in one-hot form. Every target_attribute must be in attribute_column.
The number of characters in values specified in the TargetAttributes argument plus the number of characters in categories specified in the value column must be less than 128 characters.