DecisionTreePredict Function Syntax | Teradata Vantage - 17.05 - DecisionTreePredict Syntax - Teradata Database

Teradata Vantage™ - Advanced SQL Engine Analytic Functions

prodname
Advanced SQL Engine
Teradata Database
vrm_release
17.00
17.05
created_date
June 2020
category
Programming Reference
featnum
B035-1206-170K
SELECT * FROM DecisionTreePredict (
  ON { table | view | (query) } AS AttributeTable
    PARTITION BY pid_col [,...]
  ON { table | view | (query) } AS Model DIMENSION
  USING
  AttrTableGroupbyColumns ('gcol'[,...])
  AttrTablePIDColumns ('pid_col'[,...])
  AttrTableValColumn ('value_column')
  [ OutputResponseProbDist ({'true'|'t'|'yes'|'y'|'1'|'false'|'f'|'no'|'n'|'0'})
  Responses ('response'[,...]) ]
  [ Accumulate ('accumulate_column'[,...])]
) AS alias;