VectorDistance 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ā„¢

For large data sets, Teradata recommends input in dense format, for which computing distances is faster.

TargetTable Schema

This table has the target vectors.

Column Data Type Description
target_id_column Any [Column appears once for each specified target_id_column.] All or part of target vector identifier.
target_feature_column Any except VARBYTE(n) Feature name of target vector.
target_value_column SMALLINT, INTEGER, BIGINT, NUMERIC, or DOUBLE PRECISION Value of target vector.
target_column Any except VARBYTE(n) [Column appears only when input is in dense format, once for each specified target_column.] Target vector feature value.

ReferenceTable Schema

This table has the reference vectors.

Column Data Type Description
ref_id_column Any [Column appears once for each specified ref_id_column.] All or part of reference vector identifier.
ref_feature_column Any except VARBYTE(n) Feature name of reference vector.
ref_value_column SMALLINT, INTEGER, BIGINT, NUMERIC, or DOUBLE PRECISION Value of reference vector.
ref_column Any except VARBYTE(n) [Column appears only when input is in dense format, once for each specified ref_column.] Reference vector feature value.