7.00.02 - SQL-MapReduce Call to Single_Tree_Drive - 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)
DROP TABLE IF EXISTS iris_attribute_output;
DROP TABLE IF EXISTS splits_small;

SELECT * FROM Single_Tree_Drive (
  ON (SELECT 1) PARTITION BY 1
  AttributeTableName ('iris_attribute_train')
  OutputTable ('iris_attribute_output')
  IntermediateSplitsTable ('splits_small')
  ResponseTableName ('iris_response_train')
  NumSplits ('3')
  SplitMeasure ('gini')
  MaxDepth ('10')
  IDColumns ('pid')
  AttributeNameColumns ('attribute')
  AttributeValueColumn ('attrvalue')
  ResponseColumn ('response')
  MinNodeSize ('5')
  ApproxSplits ('false')
  OutputResponseProbDist ('true')
  ResponseProbDistType ('laplace')
);