spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Marcous (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SPARK-13042) Adding Specificity metric (= true negative rate) to MulticlassMetrics.scala
Date Wed, 27 Jan 2016 12:52:39 GMT
Daniel Marcous created SPARK-13042:
--------------------------------------

             Summary: Adding Specificity metric (= true negative rate) to MulticlassMetrics.scala
                 Key: SPARK-13042
                 URL: https://issues.apache.org/jira/browse/SPARK-13042
             Project: Spark
          Issue Type: Improvement
          Components: MLlib
            Reporter: Daniel Marcous
            Priority: Minor
             Fix For: 1.6.0


Adding Specificity metric (= true negative rate) to MulticlassMetrics.scala

1. Add specificity calculations:

pecificity (SPC) or true negative rate
SPC = TN / N = TN / (TN+FP) 
False Positive Rate (FPR)
FPR = FP / N = FP / (FP + TN) = 1-SPC

SPC = 1 - FPR

2. Add specificity tests to :
mllib/src/test/scala/org/apache/spark/mllib/evaluation/MulticlassMetricsSuite.scala



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org


Mime
View raw message