SQL-MapReduce Call - Aster Analytics

Teradata Aster® Analytics Foundation User GuideUpdate 2

Product
Aster Analytics
Release Number
7.00.02
Published
September 2017
Language
English (United States)
Last Update
2018-04-17
dita:mapPath
uce1497542673292.ditamap
dita:ditavalPath
AA-notempfilter_pdf_output.ditaval
dita:id
B700-1022
lifecycle
previous
Product Category
Software

This call uses default values for the MaxDepth, MinNodeSize, and Variance arguments, and builds 50 trees on two worker nodes. It sets both seed values to 100 for repeatability. Because TreeType is 'classification' and there are 12 prediction variables, Mtry is 3 (round(sqrt(12)).

SELECT * FROM Forest_Drive (
  ON (SELECT 1)
  PARTITION BY 1
  InputTable ('housing_train')
  OutputTable ('rft_model')
  TreeType ('classification')
  ResponseColumn ('homestyle')
  NumericInputs ('price','lotsize','bedrooms','bathrms','stories','garagepl')
  CategoricalInputs
   ('driveway','recroom','fullbase','gashw','airco','prefarea')
  MaxDepth (12)
  MinNodeSize (1)
  NumTrees (50)
  Variance (0.0)
  Mtry ('3')
  MtrySeed ('100')
  Seed ('100')
);