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

Wrong accuracy and precision calculations in confusion matrix

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 5.5, 6.0
    • 6.1
    • modules/classification
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: