1.1 - 8.10 - ConfusionMatrix Syntax - Teradata Vantage

Teradata Vantage™ - Machine Learning Engine Analytic Function Reference

Product
Teradata Vantage
Release Number
1.1
8.10
Release Date
October 2019
Content Type
Programming Reference
Publication ID
B700-4003-079K
Language
English (United States)

Version 2.8

SELECT * FROM ConfusionMatrix (
  ON { table | view | (query) } PARTITION BY 1
  OUT TABLE CountTable (count_table)
  OUT TABLE StatTable (stat_table)
  OUT TABLE AccuracyTable (accuracy_table)
  USING
  ObservationColumn ('observed_column')
  PredictColumn ('predicted_column')
  [ Classes ('class' [,...] ) ]
  [ Prevalence (prevalence [,...] ) ]
) AS alias;