FMeasure Example 2: Output Specified Classes - 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™

Input

SQL Call

SELECT * FROM FMeasure (
  ON computers_category PARTITION BY 1
  USING
  ObsColumn ('expected_compcategory')
  PredictColumn ('predicted_compcategory')
  Classes ('SPECIAL', 'HYPER')
  Beta (1.0)
) AS dt;

Output

class precision recall beta fmeasure
SPECIAL 0.84375 0.885245901639344 1 0.864
HYPER 0.936842105263158 0.89 1 0.912820512820513