TD_​VectorDistance

fastpath function which takes a table of target vectors and a table of reference vectors(optional) and returns a table that contains the distance between the target-reference pair.

Options

DistanceMeasure
Specifies the distance measures that the function uses.The default value is 'cosine'.
RefFeatureColumns
Specifies the names of the reference table columns that contain features of the reference table vectors.
RefIDColumn
Specifies the name of the reference table column that contains identifiers of the reference table vectors.
Output Schema
Output Schema, if Volatile is true then use user login as the schema.
Output Table
Output Table
VAL Location
VAL Location
TargetFeatureColumns
Specifies the names of the target table columns that contain features of the target table vectors.
TargetIDColumn
Specifies the name of the target table column that contains identifiers of the target table vectors.
Volatile
Specifies whether the table should be a VOLATILE table. If true, then the table is automatically deleted, otherwise it is users responsibility to remove or clean it up for space.
TopK
Specifies, for each target vector and for each measure, the maximum number of closest reference vectors to include in the output table.

Input Ports

Icon
Connection to a Teradata Database Instance
Icon
The relation that contains target table vectors.
Icon
The relation that contains reference table vectors.

Output Ports

Icon
output of TD_VectorDistance

Nodes

Extensions

Links