1.0 - 8.00 - GLM2 Syntax - Teradata Vantage

Teradata® Vantage Machine Learning Engine Analytic Function Reference

Product
Teradata Vantage
Release Number
1.0
8.00
Release Date
May 2019
Content Type
Programming Reference
Publication ID
B700-4003-098K
Language
English (United States)

Version 1.7

SELECT * FROM GLM2 (
  ON { table | view | (query) } AS InputTable
  OUT TABLE ModelTable (model_table)
  [ OUT TABLE RegularizationTable (regularization_table) ]
  USING
  InputColumns ({ 'predictor_var_column' | predictor_var_column_range }[,...])
  [ CategoricalColumns (({ 'categorical_column_and_categories' [,...])]
  [ WeightColumn ('weight_column') ]
  ResponseColumn ('response_column')
  [ Family ({ 'BINOMIAL' | 'GAUSSIAN' | 'POISSON' }) ]
  { Lambda (lambda [,...]) |
    NumLambdas (num_lambdas) ]
    MinLambdaRatio (min_lambda_ratio) ]
  }
  [ StopThreshold (threshold) ]
  [ Alpha (alpha)]
  [ MaxIterNum (max_iterations) ]
  [ Intercept ({'true'|'t'|'yes'|'y'|'1'|'false'|'f'|'no'|'n'|'0'}) ]
) AS alias;