[ https://issues.apache.org/jira/browse/LUCENE-7672?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kevin Crosby updated LUCENE-7672: --------------------------------- 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. was: 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 will be attached to this issue. > 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