[ 
https://issues.apache.org/jira/browse/LUCENE-7672?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17160821#comment-17160821
 ] 

Kevin Crosby commented on LUCENE-7672:
--------------------------------------

Note that my patch repository was renamed to 
[https://github.com/KevinLeeCrosby/lucene-solr]

> 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: 6.3, 6.4, 6.4.1, 6.5, 7.0
>            Reporter: Kevin Crosby
>            Priority: Major
>              Labels: newbie, patch
>             Fix For: 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
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to