TD_NaiveBayesPredict Syntax - Analytics Database

Database Analytic Functions

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
VMware
Product
Analytics Database
Release Number
17.20
Published
June 2022
Language
English (United States)
Last Update
2024-10-04
dita:mapPath
gjn1627595495337.ditamap
dita:ditavalPath
ayr1485454803741.ditaval
dita:id
jmh1512506877710
lifecycle
latest
Product Category
Teradata Vantageā„¢
TD_NaiveBayesPredict ( 
ON { table | view | (query) } AS InputTable
ON { table | view | (query) } AS ModelTable DIMENSION
USING
IDColumn ('id_column')
[ Responses ('response' [,...]) ] 
[ OutputProb ({'true'|'t'|'yes'|'y'|'1'|'false'|'f'|'no'|'n'|'0'}) ] 
[ Accumulate ({ 'accumulate_column' | 'accumulate_column_range' }[,...]) ] 
{ for_dense_input |for_sparse_input }
)
for_dense_input
[ NumericInputs ({ 'numeric_column' | 'numeric_column_range' }[,...] ) ]
[ CategoricalInputs ({ 'categorical_column' | 'categorical_column_range' }[,...] ) ]
for_sparse_input
AttributeNameColumn('attribute_name_column')
AttributeValueColumn('attribute_value_column')