Required Syntax Elements for TD_OneHotEncodingFit - Analytics Database

Database Analytic Functions

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
VMware
Product
Analytics Database
Release Number
17.20
Published
June 2022
Language
English (United States)
Last Update
2024-10-04
dita:mapPath
gjn1627595495337.ditamap
dita:ditavalPath
ayr1485454803741.ditaval
dita:id
jmh1512506877710
Product Category
Teradata Vantageā„¢
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.