TD_GLMPredict Syntax | GLMPredict | Teradata Vantage - TD_GLMPredict Syntax - Teradata VantageCloud Lake

Lake - Analyze Your Data with ClearScape Analytics™

Deployment
VantageCloud
Edition
Lake
Product
Teradata VantageCloud Lake
Release Number
Publication Date
February 2025
Publication ID
B700-4600-004K
ft:locale
en-US
ft:lastEdition
2026-02-20
dita:mapPath
tcl1683670667798.ditamap
dita:ditavalPath
pny1626732985837.ditaval
ft:sourceId
dita
dita:id
tcl1683670667798
Important: In February 2023 and later releases, the Model alias is changed to ModelTable in the ON clause. You must update your code to use ModelTable.

TD_GLMPredict Syntax Using Partition by Any

TD_GLMPredict (
  ON { table | view | (query) } AS  InputTable [ PARTITION BY ANY ] 
  ON { table | view | (query) } AS  ModelTable DIMENSION
  USING
  IDColumn ('id_column')
  [Accumulate({'accumulate_column'|accumulate_column_range}[,...])]
  [OutputProb ({'true'|'t'|'yes'|'y'|'1'|'false'|'f'|'no','n','0'})]
  [Responses ('response' [,...])]
  [ Family ('Gaussian' | 'Binomial') ] 
)

TD_GLMPredict Syntax Using Partition by Key

TD_GLMPredict (
  ON { table | view | (query) } AS InputTable PARTITION BY partition_by_column 
  ON { table | view | (query) } AS  ModelTable PARTITION BY partition_by_column
  USING
  IDColumn ('id_column')
  [PartitionColumn ('partition_column')]
  [Accumulate({'accumulate_column'|accumulate_column_range}[,...])]
  [OutputProb ({'true'|'t'|'yes'|'y'|'1'|'false'|'f'|'no','n','0'})]
  [Responses ('response' [,...])]
  [ Family ('Gaussian' | 'Binomial') ] 
)
You can call this function from:
  • The FROM clause of a SELECT statement
  • As part of a CREATE TABLE statement
  • As part of a CREATE VIEW statement