[ 
https://issues.apache.org/jira/browse/LUCENE-7156?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tommaso Teofili resolved LUCENE-7156.
-------------------------------------
    Resolution: Fixed

> Wrong accuracy and precision calculations in confusion matrix
> -------------------------------------------------------------
>
>                 Key: LUCENE-7156
>                 URL: https://issues.apache.org/jira/browse/LUCENE-7156
>             Project: Lucene - Core
>          Issue Type: Bug
>          Components: modules/classification
>    Affects Versions: 5.5, 6.0
>            Reporter: Tommaso Teofili
>            Assignee: Tommaso Teofili
>             Fix For: 6.1
>
>
> {{ConfusionMatrix#getPrecision}} has false positives counter wrongly 
> initialized to _- classes.size()_ and {{ConfusionMatrix#getAccuracy}} doesn't 
> take into account false negatives and true negatives therefore resulting in 
> returning recall.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to