KNN Input - Teradata Vantage

Machine Learning Engine Analytic Function Reference

Product
Teradata Vantage
Release Number
9.02
9.01
2.0
1.3
Published
February 2022
Language
English (United States)
Last Update
2022-02-10
dita:mapPath
rnn1580259159235.ditamap
dita:ditavalPath
ybt1582220416951.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

Column Data Type Description
training_id_column Any [Optional] Unique training data object identifier.
target_column INTEGER, BIGINT, SMALLINT, or NUMERIC [Column appears once for each specified target_column.] Columns that function uses to compute distance between a test object and the training objects. TestData must have columns with the same names and data types.
response_column Any Class label or classification of classified data object.

TestData Schema

Column Data Type Description
test_id_column Any Unique test data object identifier.
target_column INTEGER, BIGINT, SMALLINT, or NUMERIC [Column appears once for each specified target_column.] Columns that function uses to compute distance between a test object and the training objects. TrainingData must have columns with the same names and data types.