Attribution Syntax (Single Input) - Teradata Vantage

Machine Learning Engine Analytic Function Reference

Product
Teradata Vantage
Release Number
8.00
1.0
Published
May 2019
Language
English (United States)
Last Update
2019-11-22
dita:mapPath
blj1506016597986.ditamap
dita:ditavalPath
blj1506016597986.ditaval
dita:id
B700-4003
lifecycle
previous
Product Category
Teradata Vantage™

Version 2.7

This function requires "@coprocessor".
SELECT * FROM Attribution@coprocessor (
 ON { table | view | (query) } PARTITION BY expression [,...] ORDER BY timestamp_column [,...] 
  USING
  EventColumn ('event_column')
  ConversionEvents ('conversion_event' [,...])
  [ ExcludeEvents ('exclude_event') ]
  [ OptionalEvents ('optional_event' [,...]) ]
  TimestampColumn ('timestamp_column')
  WindowSize ('rows:K | seconds:K | rows:K&seconds:K')
  Model1 ('type', { 'K' | 'EVENT:WEIGHT:MODEL:PARAMETERS' } [,...])
  [ Model2 ('type', { 'K' | 'EVENT:WEIGHT:MODEL:PARAMETERS' } [,...]) ]
) AS alias;
In the Model1 and Model2 arguments, colons are parameter delimiters. If a parameter contains colons, enclose it in double quotation marks. For example:
Model1 ('EVENT_REGULAR', '"email:":0.19:LAST_CLICK:NA')