AMLGenerator Syntax Elements - 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ā„¢
ModelType
Specify the function name for which this .aml file is to be used. For predictors, this represents the type of the model trained. For information about model types, see Teradata Scoring SDK Functions.
Model
[Optional] Specify the name of the database table to use to create the .aml file for the input table.
Model2
[Optional] Use only if the function can use two input tables. The functions that can use two input tables are TextTokenizer, TextTagger, TextParser, and SentimentExtractor. Specify the name of the database table to use to create the .aml file for the second input table.
ModelTag
[Required with Model2, optional otherwise.] Specify the tag for Model, which identifies the role of the table in the Teradata Scoring SDK context.
Model2Tag
[Required with Model2, disallowed otherwise.] Specify the tag for Model2, which identifies the role of the table in the Teradata Scoring SDK context.
InstalledFile
[Optional] Specify the name of the file, installed on ML Engine, to use to create the .aml file.
InstalledFile2
[Optional] Use only if the function can use two input files. The functions that can use two input files are TextTokenizer, TextTagger, TextParser, and SentimentExtractor. Specify the name of the database file to use to create the .aml file.
InstalledFileTag
[Required with InstalledFile2, optional otherwise.] Specify the tag for installed_file, which identifies the role of the file in the Teradata Scoring SDK context.
InstalledFile2Tag
[Required with InstalledFile2, disallowed otherwise.] Specify the tag for installed_file_2, which identifies the role of the file in the Teradata Scoring SDK context.
RequestColNames
Specify the column names of the request to be scored. For a predictor, these column names typically match the column names of the training data used to train the model.
RequestColTypes
Specify the column types of the request to be scored. For a predictor, these column types typically match the columns types of the training data used to train the model. Specify one column_type for each column_name.
AMLPrefix
[Optional] Specify the name for the AML model file that the function outputs. The file suffix is ".aml". For example, if aml_model_file is 'model', the output file is model.aml.
Default: 'model'
OverwriteOutput
[Optional] Specifies whether to overwrite the output AML model file if it exists.
Default: 'false'
RequestArgNamen
[Optional] Specify a syntax element for function_name. Typically, this syntax element is the same as it is in the corresponding SQL function. For supported clauses for each function, see Teradata Scoring SDK Functions. For syntax element descriptions, see the documentation for the corresponding SQL function.

The values of n must proceed sequentially from 1. For example: RequestArgName1, RequestArgName2, RequestArgName3. The maximum value of n is 30.

RequestArgValn
[Optional] Specify the value or values for the syntax element that RequestArgNamen specifies. The valid values are the same as they are for the corresponding syntax element of the SQL function.