TD_KNN Output - 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ā„¢

Output Table Schema

Column Data Type Description
id_column Same as IDColumn in test table The unique identifier from the test table.
prediction Same as ResponseColumn in training table The predicted response value calculated by the KNN regression or classification model type.
prob Double Precision The probability of the predicted class. Only displays if the OutputProb element value is true and the Responses element value is not specified.
prob_k Double Precision The probability of the kth response specified by the Responses argument. Only displays if the Responses argument is specified.
neighbor_idk Same as the id_column in the training Table The unique identifier of the test data object for the neighbor k.
neighbor_distk Double Precision The Euclidean distance of the neighbor_idk value from the test data point.
accumulate_column Data type of the column being copied The specified column names in the Accumulate element is copied to the output.