[ https://issues.apache.org/jira/browse/LUCENE-7672?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15847238#comment-15847238 ]
ASF GitHub Bot commented on LUCENE-7672: ---------------------------------------- GitHub user QuasiChameleon opened a pull request: https://github.com/apache/lucene-solr/pull/152 Added log prior calculations in CachingNaiveBayesClassifier. Jira issue : [LUCENE-7672](https://issues.apache.org/jira/browse/LUCENE-7672) You can merge this pull request into a Git repository by running: $ git pull https://github.com/QuasiChameleon/lucene-solr master Alternatively you can review and apply these changes as the patch at: https://github.com/apache/lucene-solr/pull/152.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #152 ---- commit 4d2d6c91fcd1eb8214ac3c9e5ec8a2c07d0d0374 Author: Kevin Crosby <ke...@resolvity.com> Date: 2017-01-31T18:05:20Z Added log prior calculations in CachingNaiveBayesClassifier. ---- > CachingNaiveBayesClassifier doesn't compute log prior. > ------------------------------------------------------ > > Key: LUCENE-7672 > URL: https://issues.apache.org/jira/browse/LUCENE-7672 > Project: Lucene - Core > Issue Type: Bug > Components: modules/classification > Affects Versions: master (7.0), 6.3, 6.4, 6.5, 6.4.1, 6.5.0 > Reporter: Kevin Crosby > Labels: newbie, patch > Fix For: master (7.0) > > Attachments: LUCENE-7672.patch > > > 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. -- This message was sent by Atlassian JIRA (v6.3.15#6346) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org