7.00.02 - SQL-MapReduce Call to Single_Tree_Predict - Aster Analytics

Teradata Aster® Analytics Foundation User GuideUpdate 2

Product
Aster Analytics
Release Number
7.00.02
Release Date
September 2017
Content Type
Programming Reference
User Guide
Publication ID
B700-1022-700K
Language
English (United States)
SELECT * FROM Single_Tree_Predict (
  ON iris_attribute_test AS attribute_table PARTITION BY pid ORDER BY attribute
  ON iris_attribute_output as model_table DIMENSION 
  AttrTableGroupByColumns ('attribute')
  AttrTablePIDColumns ('pid')
  AttrTableValColumn ('attrvalue') 
  OutputResponseProbDist ('true', 'iris_attribute_output')
  Accumulate ('actual_label')
) ORDER BY pid;