PMMLPredict Syntax | BYOM | Teradata Vantage - PMMLPredict Syntax - Teradata Vantage

Teradata Vantageā„¢ - Bring Your Own Model User Guide

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
Lake
VMware
Product
Teradata Vantage
Release Number
5.0
Published
October 2023
Language
English (United States)
Last Update
2024-04-06
dita:mapPath
fee1607120608274.ditamap
dita:ditavalPath
ayr1485454803741.ditaval
dita:id
fee1607120608274

When ModelTable Contains Only One Model

SELECT * FROM [schema.]PMMLPredict (
  ON { table | view | (query) } [ AS InputTable ]
  ON { table | view | (query) } [ AS ModelTable ] DIMENSION
  USING
    Accumulate ({ accumulate_column [,...] | '*' })
    [ ModelOutputFields (model_output_field [,...])]
    [ OverwriteCachedModel(current_cached_model_name|'*'|'true'|'t'|'yes'|'y'|'1'|'false'|'f'|'no'|'n'|'0')]
) as alias ;

When ModelTable Contains Multiple Models

SELECT * FROM [schema.]PMMLPredict(
  ON { table | view | (query) } [ AS InputTable ]
  ON (SELECT * FROM { table | view | (query) } WHERE model_id = model_identifier) [ AS ModelTable ] DIMENSION
  USING
    Accumulate ({ accumulate_column [,...] | '*' })
    [ ModelOutputFields (model_output_field [,...])]
    [ OverwriteCachedModel(current_cached_model_name|'*'|'true'|'t'|'yes'|'y'|'1'|'false'|'f'|'no'|'n'|'0')]
    [ IsDebug({'true'|'false'}) ]
) as alias ;