7.00.02 - SQL-MapReduce - 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 has a normal distribution, the Family is Gaussian. The Alpha value, 0.1, specifies an elastic net model.

SELECT * FROM glm2 (
  ON (SELECT 1) PARTITION BY 1
  InputTable ('glm2_elastic_net')
  ModelTable ('glm2_elastic_net_model')
  RegularizationTable ('glm2_3regularization')
  InputColumns ('gnp_deflator','gnp','armed_forces','population')
  ResponseColumn ('employed')
  Family ('GAUSSIAN')
  Intercept ('TRUE')
  NumLambdas('10')
  Alpha ('0.1')
);