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

One-Pass MultilabelMetrics & MulticlassMetrics

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0.0
    • Fix Version/s: 3.0.0
    • Component/s: ML
    • Labels:
      None

      Description

      In MultilabelMetrics, one sperate pass is needed to compute:

      numDocs/numLabels/subsetAccuracy/accuracy/hammingLoss/precision/recall/f1Measure/tpPerClass/fpPerClass/fpPerClass/fnPerClass

       

      And In MulticlassMetrics, one sperate pass is needed to compute:

      labelCountByClass/tpByClass/fpByClass/confusions

       

      however, all above intermeidate metrics can be computed at once.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                podongfeng zhengruifeng
                Reporter:
                podongfeng zhengruifeng
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: