DecisionTree Syntax - Teradata Vantage

Machine Learning Engine Analytic Function Reference

Product
Teradata Vantage
Release Number
8.10
1.1
Published
October 2019
Language
English (United States)
Last Update
2019-12-31
dita:mapPath
ima1540829771750.ditamap
dita:ditavalPath
jsj1481748799576.ditaval
dita:id
B700-4003
lifecycle
previous
Product Category
Teradata Vantageā„¢

Version 1.30

SELECT * FROM DecisionTree (
  { ON { table | view | (query) } AS InputTable |
    ON { table | view | (query) } AS AttributeTable
    ON { table | view | (query) } AS ResponseTable
  }
  [ ON { table | view | (query) } AS CategoricalAttributeTable ] 
  [ ON { table | view | (query) } AS SplitsTable ]
  OUT TABLE OutputTable (output_table)
  [ OUT TABLE FinalResponseTable (final_response_table) ]
  [ OUT TABLE IntermediateSplitsTable (intermediate_splits_table) ]
  USING
  AttributeNameColumns ('attribute_name_column' [,...])
  AttributeValueColumn ('attribute_value_column')
  ResponseColumn ('response_column')
  IDColumns ('id_column' [,...])
  [ CategoricalEncoding ({ 'GrayCode' | 'Hashing' }) ]
  [ SplitsValueColumn ('splits_valcol') ]
  [ ApproxSplits ({'true'|'t'|'yes'|'y'|'1'|'false'|'f'|'no'|'n'|'0'}) ]
  [ NumSplits (num_splits_to_consider) ]
  [ MinNodeSize (minimum_split_size) ]
  [ MaxDepth (max_depth) ]
  [ Weighted ({'true'|'t'|'yes'|'y'|'1'|'false'|'f'|'no'|'n'|'0'}) ]
  [ WeightColumn ('weight_column') ]
  [ SplitMeasure ( { 'gini' | 'entropy' | 'chisquare' } ) ]
  [ OutputProb {'true'|'t'|'yes'|'y'|'1'|'false'|'f'|'no'|'n'|'0'} ]
  [ ResponseProbDistType ({ 'laplace' | 'frequency' | 'rawcount' }) ]
) AS alias;