1.0 - 8.00 - ConfusionMatrix Syntax - Teradata Vantage

Teradata® Vantage Machine Learning Engine Analytic Function Reference

Product
Teradata Vantage
Release Number
1.0
8.00
Release Date
May 2019
Content Type
Programming Reference
Publication ID
B700-4003-098K
Language
English (United States)

Version 2.6

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;