You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@opennlp.apache.org by "Koji Sekiguchi (JIRA)" <ji...@apache.org> on 2018/05/15 10:16:00 UTC

[jira] [Resolved] (OPENNLP-1195) use ArrayMath.argmax() rather than private maxIndex() in PerceptronTrainer and NaiveBayesTrainer

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

Koji Sekiguchi resolved OPENNLP-1195.
-------------------------------------
    Resolution: Fixed

> use ArrayMath.argmax() rather than private maxIndex() in PerceptronTrainer and NaiveBayesTrainer
> ------------------------------------------------------------------------------------------------
>
>                 Key: OPENNLP-1195
>                 URL: https://issues.apache.org/jira/browse/OPENNLP-1195
>             Project: OpenNLP
>          Issue Type: Improvement
>    Affects Versions: 1.8.4
>            Reporter: Koji Sekiguchi
>            Assignee: Koji Sekiguchi
>            Priority: Trivial
>
> PerceptronTrainer and NaiveBayesTrainer have their own private maxIndex() method and they are identical.
> Why don't we move it to their parent class?



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)