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

CachingNaiveBayesClassifier doesn't compute log prior.

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 6.3, 6.4, 6.4.1, 6.5, 7.0
    • 7.0
    • modules/classification
    • 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

        1. LUCENE-7672.patch
          1 kB
          Kevin Crosby

        Issue Links

          Activity

            People

              Unassigned Unassigned
              QuasiChameleon Kevin Crosby
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: