KNN Input - Teradata Vantage

Machine Learning Engine Analytic Function Reference

Product
Teradata Vantage
Release Number
8.10
1.1
Published
October 2019
Language
English (United States)
Last Update
2019-12-31
dita:mapPath
ima1540829771750.ditamap
dita:ditavalPath
jsj1481748799576.ditaval
dita:id
B700-4003
lifecycle
previous
Product Category
Teradata Vantageā„¢
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.