Help Foreign Function Command | Teradata Vantage - Help Foreign Function Command - Teradata Vantage

Machine Learning User Guide

Product
Teradata Vantage
Release Number
9.01
1.3
Published
August 2020
Language
English (United States)
Last Update
2020-10-02
dita:mapPath
dci1595445931473.ditamap
dita:ditavalPath
dqp1599597541027.ditaval
dita:id
B700-4004
lifecycle
previous
Product Category
Teradata Vantageā„¢
The output of the HELP FOREIGN FUNCTION command shows detailed information about the ML Engine function specified.

You must use the coprocessor function name as input to this command and append @coprocessor to it. See ML Engine Analytic Function Mapping to map your function with its coprocessor function name.

HELP FOREIGN FUNCTION kmeans@coprocessor;
Function Help
----------------------------------------------------------------------
Function Name:
kmeans

Function Type:
driver

Short Description:
Performs K-Means clustering on a data set

Long Description:
Finds cluster centroids and assigns data points to clusters using the k-means
algorithm.

Usage Syntax:
kmeans@coprocessor(
ON(...) as InputTable
[ON(...) as CentroidsTable]
[MaxIterNum('INTEGER')]
[Seed('INTEGER')]
[UnpackColumns('BOOLEAN')]
[InitialSeeds('STRING')]
[NumClusters('INTEGER')]
[Threshold('DOUBLE')]
[ClusteredOutput('TABLE_NAME')]
OutputTable('TABLE_NAME')
)

Input Columns:
<Input Table> should be in the following format< id ,point1 real ...pointn
real>

Output Columns:
<Output Table will be in the following format <clusterid, packedColumn, size,
withinss>

Function Owner:
db_superuser

Creation Time:
2017-08-29 16:02:06.230091

Function Version:
7.0_rel_1.7_r65218

Interfaces Implemented:
Partition function