7.00.02 - SQL-MapReduce Call - Aster Analytics

Teradata Aster® Analytics Foundation User GuideUpdate 2

Product
Aster Analytics
Release Number
7.00.02
Published
September 2017
Content Type
Programming Reference
User Guide
Publication ID
B700-1022-700K
Language
English (United States)
Last Update
2018-04-17

The RequestColNames() has all the attributes on which the single decision tree function was trained.

SELECT * FROM AMLGenerator (
  ON (SELECT 1) PARTITION BY 1
  ModelType ('SDT')
  ModelTable ('glass_attribute_table_output')
  OverwriteOutput ('true')
  RequestColNames ('pid', 'RI', 'Na', 'Mg', 'Al', 'Si', 'K', 'Ca', 'Ba',
                   'Fe')
  RequestColTypes ('int', 'double', 'double', 'double', 'double',
                   'double', 'double', 'double', 'double', 'double')
  AMLPrefix ('glass_model')
  RequestArgName1 ('ATTRTABLE_AttributeColumns')
  RequestArgVal1 ('RI', 'Na', 'Mg', 'Al', 'Si', 'K','Ca', 'Ba', 'Fe')
  RequestArgName2 ('ATTRTABLE_pidColumns')
  RequestArgVal2 ('pid')
);