FMeasure Example: Output Specified Classes | Teradata Vantage - FMeasure Example: Output Specified Classes - Teradata Vantage

Machine Learning Engine Analytic Function Reference

Product
Teradata Vantage
Release Number
9.02
9.01
2.0
1.3
Published
February 2022
Language
English (United States)
Last Update
2022-02-10
dita:mapPath
rnn1580259159235.ditamap
dita:ditavalPath
ybt1582220416951.ditaval
dita:id
B700-4003
lifecycle
previous
Product Category
Teradata Vantageā„¢

Input

SQL Call

SELECT * FROM FMeasure (
  ON computers_category PARTITION BY 1
  USING
  ObservationColumn ('expected_compcategory')
  PredictColumn ('predicted_compcategory')
  Classes ('special','hyper')
  Beta (1.0)
) AS dt;

Output

 class   precision          recall             beta fmeasure           
 ------- ------------------ ------------------ ---- ------------------ 
 special            0.84375 0.8852459016393442  1.0              0.864
 hyper   0.9368421052631579               0.89  1.0 0.9128205128205129

Download a zip file of all examples and a SQL script file that creates their input tables.