Teradata Scoring SDK Functions - 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ā„¢

This topic provides details about the Teradata Scoring SDK functions supported by Scorer. Most details are the same as those for the corresponding SQL function; consult the section for the equivalent SQL function for a detailed description. The javadoc for Scorer provides information about how to run a scorer with a specific Teradata Scoring SDK function.

Teradata Scoring SDK Function Sections
Subsection Description
Model Format Model and its type accepted by the function. The model is incorporated inside AML the file.

Related syntax elements of AMLGenerator:

  • ModelType
  • ModelTable
  • ModelTable2
  • ModelTableTag
  • ModelTableTag2
  • InstalledFile
  • InstalledFile2
  • InstalledFileTag
  • InstalledFileTag2
Request Definition Format for the input query to score against the Teradata Scoring SDK function, if different from the corresponding SQL function. In the context of a SQL function, this format corresponds to the input table schema for the test (query) data set. In most functions, this format is the same as the input used to train the model.

The format is supplied using the AMLGenerator syntax elements RequestColNames and RequestColTypes (to incorporate into the AML file).

Scorer creates an instance of a request object based on the format, which can be used to populate request data for scoring.

Parameters Parameters that the Teradata Scoring SDK function uses for scoring. These parameters correspond to the syntax elements of the corresponding SQL (predictor) function. This section also lists any syntax elements that the Teradata Scoring SDK function does not support.

These parameters can be supplied using AMLGenerator syntax elements RequestArgName1, RequestArgVal1, ReqestArgName2, RequestArgVal2, and so on (to incorporate into the AML file).

Because parameters can change frequently across queries for the same Teradata Scoring SDK function, parameters can also be supplied (with modifications) directly inside Scorer. See the Scorer javadoc for further information.

[Optional] Additional Notes Additional details about the function.