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:
- Select a table of attributes and categorical values.
- Use TD_OneHotEncodingFit to output the attributes and categorical values to TD_OneHotEncodingTransform.