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 example uses logistic regression, the Family is Binomial. The Alpha value, 0, specifies a Ridge model.

SELECT * FROM glm2 ( 
  ON (SELECT 1) PARTITION BY 1
  InputTable ('admissions_train')
  ModelTable ('glm2_ridge_model')
  RegularizationTable ('glm2_2regularization')
  InputColumns ('masters', 'gpa', 'stats', 'programming')
  CategoricalColumns ('masters', 'stats', 'programming')
  ResponseColumn ('admitted')
  Family ('binomial')
  Intercept ('TRUE')
  NumLambdas ('10')
  Alpha('0')
);