You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@opennlp.apache.org by "Michael Lambert (JIRA)" <ji...@apache.org> on 2013/05/02 16:04:15 UTC
[jira] [Resolved] (OPENNLP-577) GisModel eval ignores presence of
the first feature
[ 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