TD_OneHotEncodingFit | OneHotEncodingFit | Teradata Vantage - TD_OneHotEncodingFit - Teradata Vantage

Teradata® VantageCloud Lake

Deployment
VantageCloud
Edition
Lake
Product
Teradata Vantage
Published
January 2023
Language
English (United States)
Last Update
2024-04-03
dita:mapPath
phg1621910019905.ditamap
dita:ditavalPath
pny1626732985837.ditaval
dita:id
phg1621910019905

TD_OneHotEncodingFit outputs a table of attributes and categorical values to input to TD_OneHotEncodingTransform, which encodes them as one-hot numeric vectors, that is, a vector that contains 0 or 1, where it is set to 1 if a specific categorical value is true (for example, M in a gender column would be 1, all other values are 0).

TD_OneHotEncodingFit follows this process:
  1. Select a table of attributes and categorical values.
  2. Use TD_OneHotEncodingFit to output the attributes and categorical values to TD_OneHotEncodingTransform.