hivemall-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Makoto Yui (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HIVEMALL-78) Support AUC BinaryClassificationMetrics
Date Tue, 21 Feb 2017 10:33:44 GMT
Makoto Yui created HIVEMALL-78:
----------------------------------

             Summary: Support AUC BinaryClassificationMetrics
                 Key: HIVEMALL-78
                 URL: https://issues.apache.org/jira/browse/HIVEMALL-78
             Project: Hivemall
          Issue Type: New Feature
            Reporter: Makoto Yui
            Assignee: Takuya Kitazawa
            Priority: Minor


http://www.citeulike.org/user/myui/article/12615084
https://github.com/apache/spark/blob/master/mllib/src/main/scala/org/apache/spark/mllib/evaluation/BinaryClassificationMetrics.scala

{code:sql}
select
    auc(fp, tp) as area -- auc is UDAF, input is sorted by fp asc
  from (  
    select 
      fp, tp
    from
      data
    DISTRIBUTE BY 
      floor(fp / 0.2) -- 5 bins
    SORT BY 
      fp ASC
  ) t
{code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message