TD_OneHotEncodingFit | OneHotEncodingFit | Teradata Vantage - 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

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.