1.0 - 8.00 - FMeasure Example 2: Output Specified Classes - 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)

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