[prev in list] [next in list] [prev in thread] [next in thread]
List: solr-dev
Subject: [jira] (LUCENE-7672) CachingNaiveBayesClassifier doesn't compute log prior.
From: "ASF GitHub Bot (JIRA)" <jira () apache ! org>
Date: 2017-01-31 18:08:51
Message-ID: JIRA.13039248.1485885558000.850.1485886131558 () Atlassian ! JIRA
[Download RAW message or body]
[ 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 <kevin@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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic