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

CachingNaiveBayesClassifier doesn't compute log prior.

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 6.3, 6.4, 6.4.1, 6.5, 7.0
    • Fix Version/s: 7.0
    • Component/s: modules/classification
    • Labels:
    • Lucene Fields:
      New, Patch Available

      Description

      The CachingNaiveBayesClassifier gives different results than the SimpleNaiveBayesClassifier. This is due to the fact that the CachineNaiveBayesClassifier does not calculate the log prior on the class (category) names, as it should.

      This bug has been fixed, and a patch has been attached to this issue.

      This affects master, as well as previous releases up to version 6.4.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                QuasiChameleon Kevin Crosby
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: