1.1 - 8.10 - KNN Input - Teradata Vantage

Teradata Vantage™ - Machine Learning Engine Analytic Function Reference

Product
Teradata Vantage
Release Number
1.1
8.10
Release Date
October 2019
Content Type
Programming Reference
Publication ID
B700-4003-079K
Language
English (United States)
It is important to normalize the input variables before calling this function. For details, see Normalized Input.

TrainingData Schema

The table can have additional columns, but the function ignores them.

Column Data Type Description
training_id_column Any Unique row identifier.
df_column INTEGER, BIGINT, SMALLINT, or NUMERIC Column that function uses to compute distance between a test object and the training objects. TestData must have a column with the same name and data type.
response_column VARCHAR Class label or classification of classified data object.

TestData Schema

The table can have additional columns, but the function ignores them.

Column Data Type Description
df_column INTEGER, BIGINT, SMALLINT, or NUMERIC Column that function uses to compute distance between a test object and the training objects. TrainingData must have a column with the same name and data type.
test_id_column Any Unique test data object identifier.