Return-Path: X-Original-To: apmail-commons-issues-archive@minotaur.apache.org Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B8201D94B for ; Tue, 14 Aug 2012 23:03:38 +0000 (UTC) Received: (qmail 42308 invoked by uid 500); 14 Aug 2012 23:03:38 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 42215 invoked by uid 500); 14 Aug 2012 23:03:38 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 42207 invoked by uid 99); 14 Aug 2012 23:03:38 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Aug 2012 23:03:38 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id EA86C2C04A0 for ; Tue, 14 Aug 2012 23:03:37 +0000 (UTC) Date: Wed, 15 Aug 2012 10:03:37 +1100 (NCT) From: "Gilles (JIRA)" To: issues@commons.apache.org Message-ID: <1152036148.10357.1344985417961.JavaMail.jiratomcat@arcas> In-Reply-To: <642574148.6.1344805838072.JavaMail.jiratomcat@arcas> Subject: [jira] [Commented] (MATH-844) "HarmonicFitter.ParameterGuesser" sometimes fails to return sensible values MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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