[jira] [Commented] (LUCENE-4959) Incorrect return value from SimpleNaiveBayesClassifier.assignClass

Previous Topic Next Topic
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

[jira] [Commented] (LUCENE-4959) Incorrect return value from SimpleNaiveBayesClassifier.assignClass

Steve Loughran (Jira)

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

Commit Tag Bot commented on LUCENE-4959:

[trunk commit] jpountz

LUCENE-4959: Fix incorrect return value in SimpleNaiveBayesClassifier.assignClass.

> Incorrect return value from SimpleNaiveBayesClassifier.assignClass
> -------------------------------------------------------------------
>                 Key: LUCENE-4959
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4959
>             Project: Lucene - Core
>          Issue Type: Bug
>    Affects Versions: 5.0, 4.2.1
>            Reporter: Alexey Kutin
>            Assignee: Adrien Grand
>              Labels: classification
>         Attachments: LUCENE-4959.patch
> The local copy of BytesRef referenced by foundClass is affected by subsequent TermsEnum.iterator.next() calls as the shared BytesRef.bytes changes.
> If a term "test" gives a good match and a next term in the terms collection is "classification" with a lower match score then the return result will be "clas"

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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