You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@opennlp.apache.org by "Joern Kottmann (JIRA)" <ji...@apache.org> on 2013/06/06 14:48:20 UTC
[jira] [Closed] (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 ]
Joern Kottmann closed OPENNLP-577.
----------------------------------
> 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