Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-13042

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

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotVotersStop watchingWatchersCreate sub-taskConvert to sub-taskLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: MLlib
    • Labels:

      Description

      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

        Attachments

          Activity

          $i18n.getText('security.level.explanation', $currentSelection) Viewable by All Users
          Cancel

            People

            • Assignee:
              Unassigned Assign to me
              Reporter:
              dmarcous@gmail.com Daniel Marcous

              Dates

              • Created:
                Updated:
                Resolved:

              Time Tracking

              Estimated:
              Original Estimate - 12h
              12h
              Remaining:
              Remaining Estimate - 12h
              12h
              Logged:
              Time Spent - Not Specified
              Not Specified

                Issue deployment