1.1 - 8.10 - Teradata Scoring SDK Decision Tree (ML Engine) - Teradata Vantage

Teradata Vantage™ - Machine Learning Engine Analytic Function Reference

Product
Teradata Vantage
Release Number
1.1
8.10
Release Date
October 2019
Content Type
Programming Reference
Publication ID
B700-4003-079K
Language
English (United States)

This is the Teradata Scoring SDK version of the function DecisionTreePredict_MLE (ML Engine).

Model Format

Syntax Element Description
ModelType sdt, single decision tree
ModelTable Database table
ModelTag No tags supported

Request Definition

The Teradata Scoring SDK function uses a different request schema from ML Engine function Single_Tree_Predict. As an example, the table for ML Engine function looks like:

Single_Tree_Predict Request Schema
PID ATTRIBUTE ATTRVALUE
9 RI 1.51545
9 Na 14.14
9 Mg 0.00
... ... ...

For the Teradata Scoring SDK function, the request must be a flat data structure, as shown below for the same example:

Teradata Scoring SDK Decision Tree Request Schema
PID RI Na Mg ...
9 1.51545 14.14 0.00 ...

Parameters

Parameter Supported Comments
AttrTableAttributeColumns Yes list of attributes columns in the request
AttrTablePidColumns Yes list of pid_col in the request.
ON attribute_table No Provided using Request.
ON model_table No Populated in AML file.
AttrTableGroupByColumns No Replaced by AttrTableAttributeColumns.
AttrTableValColumn No The default value is used.
ModelTableNodeColumn No The default value is used.
ModelTableSizeColumn No The default value is used.
ModelTableLeftSizeColumn No The default value is used.
ModelTableRightSizeColumn No The default value is used.
ModelTableAttrColumns No The default value is used.
ModelTableSplitColumn No The default value is used.
ModelTableLabelColumn No The default value is used.
ModelTableLeftLabelColumn No The default value is used.
ModelTableRightLabelColumn No The default value is used.
ModelTableLeftBucketColumn No The default value is used.
ModelTableRightBucketColumn No The default value is used.