TD_OrdinalEncodingFit Syntax | OrdinalEncodingFit - TD_OrdinalEncodingFit Syntax - 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-04-06
dita:mapPath
gjn1627595495337.ditamap
dita:ditavalPath
ayr1485454803741.ditaval
dita:id
jmh1512506877710
Product Category
Teradata Vantageā„¢
TD_ORDINALENCODINGFIT (
ON { table | view | (query) } AS InputTable
[ ON { table | view | (query) } AS CategoryTable Dimension ]
[ OUT [ PERMANENT | VOLATILE ] TABLE OutputTable (output_table_name) ]
USING
TargetColumn ({'target_column' | 'target_column_range'}[,...])
[{
     Approach ('LIST')
     {
         Categories ('category'[,...])
         [ OrdinalValues (ordinal_value[,...]) ]
     |
         TargetColumnNames ('targetcolnames_column')
         CategoriesColumn ('category_column')
         [ OrdinalValuesColumn ('ordinalvalue_column') ]
     }
 |
     Approach ('AUTO')
 }]
[ StartValue ({ start_value | start_value_i, ... }) ]
[ DefaultValue ({ default_value | default_value_i, ... }) ]
)
You can call this function from:
  • The FROM clause of a SELECT statement
  • As part of a CREATE TABLE statement
  • As part of a CREATE VIEW statement