Machine Learning Engine Comments in Queries | Teradata Vantage - Comments in Queries - Teradata Vantage

Machine Learning Engine User Guide

Product
Teradata Vantage
Release Number
9.02
9.2.4
9.2.3
2.3.2
1.3
Published
May 2022
Language
English (United States)
Last Update
2022-05-04
dita:mapPath
kaz1597341649653.ditamap
dita:ditavalPath
ehs1594682156756.ditaval
dita:id
B700-4004
lifecycle
previous
Product Category
Teradata Vantageā„¢

Queries with "@coprocessor"

Comments in queries with "@coprocessor" must have the syntax /* comment */. For example:

SELECT * FROM GLMPredict@coprocessor (
  ON admissions_test PARTITION BY ANY
  ON glm_admissions_model AS model DIMENSION
  USING
  Accumulate ('id', 'masters', 'gpa', 'stats', 'programming', 'admitted')
  Family ('LOGISTIC')     /* Same as BINOMIAL */
  LinkFunction ('LOGIT')  /* Default */
) AS dt;

Queries without "@coprocessor"

Comments in queries without "@coprocessor" can have either the preceding syntax or the syntax -- comment. For example:
SELECT * FROM GLMPredict (
  ON admissions_test PARTITION BY ANY
  ON glm_admissions_model AS model DIMENSION
  USING
  Accumulate ('id', 'masters', 'gpa', 'stats', 'programming', 'admitted')
  Family ('LOGISTIC')     /* Same as BINOMIAL */
  LinkFunction ('LOGIT')  -- Default
) AS dt;