TD_KNN Output - Teradata Vantage

Teradata® VantageCloud Lake

Deployment
VantageCloud
Edition
Lake
Product
Teradata Vantage
Published
January 2023
Language
English (United States)
Last Update
2024-02-17
dita:mapPath
phg1621910019905.ditamap
dita:ditavalPath
pny1626732985837.ditaval
dita:id
phg1621910019905

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.