7.00.02 - SQL-MapReduce Call - 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)

Because the response variable is a count value (number of awards), the Family is Poisson. The Alpha value, 1, specifies a LASSO model.

SELECT * FROM glm2 (
  ON (SELECT 1) PARTITION BY 1
  InputTable ('awards')
  ModelTable ('glm2_lasso_model')
  RegularizationTable ('glm2_regularization')
  InputColumns ('prog', 'math')
  ResponseColumn ('num_awards')
  Family ('POISSON')
  Intercept ('TRUE')
  NumLambdas ('10')
  Alpha ('1')
);