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

Michael Lambert resolved OPENNLP-577.
-------------------------------------

    Resolution: Invalid

Disregard. Misunderstanding.  
                
> GisModel eval ignores presence of the first feature
> ---------------------------------------------------
>
>                 Key: OPENNLP-577
>                 URL: https://issues.apache.org/jira/browse/OPENNLP-577
>             Project: OpenNLP
>          Issue Type: Bug
>          Components: Maxent
>    Affects Versions: maxent-3.0.3
>            Reporter: Michael Lambert
>              Labels: patch
>
> On line 181 of GISModel.java in the eval function, there is a check whose 
> intention seems to be to ignore any incoming predicates that have a value of 
> zero.  Instead, it ignores an incoming predicates that have a parameter index 
> of zero:
> The line in question:
>     if (context[ci] >= 0) {
> I believe that this should be:
>     if (values[ci] >= 0) {

--
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

Reply via email to