[
https://issues.apache.org/jira/browse/MATH-844?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13434614#comment-13434614
]
Gilles commented on MATH-844:
-----------------------------
I propose to check whether the values are sensible, and when they are not,
either
# throw an appropriate exception (i.e. signal that the guesser fails), or
# return arbitrary values that would allow the optimizer to proceed.
Any preference?
> "HarmonicFitter.ParameterGuesser" sometimes fails to return sensible values
> ---------------------------------------------------------------------------
>
> Key: MATH-844
> URL: https://issues.apache.org/jira/browse/MATH-844
> Project: Commons Math
> Issue Type: Bug
> Affects Versions: 3.0
> Reporter: Gilles
> Priority: Minor
> Fix For: 3.1
>
> Attachments: MATH-844.test.patch
>
>
> The inner class "ParameterGuesser" in "HarmonicFitter" (package
> "o.a.c.m.optimization.fitting") fails to compute a usable guess for the
> "amplitude" parameter.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira