TD_OneHotEncodingFit | OneHotEncodingFit | Teradata Vantage - 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
lifecycle
latest
Product Category
Teradata Vantageā„¢

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.