Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-7156

Wrong accuracy and precision calculations in confusion matrix

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.5, 6.0
    • Fix Version/s: 6.1
    • Component/s: modules/classification
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      ConfusionMatrix#getPrecision has false positives counter wrongly initialized to - classes.size() and ConfusionMatrix#getAccuracy doesn't take into account false negatives and true negatives therefore resulting in returning recall.

        Attachments

          Activity

            People

            • Assignee:
              teofili Tommaso Teofili
              Reporter:
              teofili Tommaso Teofili
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: