From issues-return-29768-apmail-commons-issues-archive=commons.apache.org@commons.apache.org Mon Oct 1 21:53:08 2012 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 02758DDB9 for ; Mon, 1 Oct 2012 21:53:08 +0000 (UTC) Received: (qmail 85004 invoked by uid 500); 1 Oct 2012 21:53:07 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 84917 invoked by uid 500); 1 Oct 2012 21:53:07 -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 84908 invoked by uid 99); 1 Oct 2012 21:53:07 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Oct 2012 21:53:07 +0000 Date: Tue, 2 Oct 2012 08:53:07 +1100 (NCT) From: "Gilles (JIRA)" To: issues@commons.apache.org Message-ID: <1699664010.151144.1349128387565.JavaMail.jiratomcat@arcas> In-Reply-To: <1136939261.110231.1348271287489.JavaMail.jiratomcat@arcas> Subject: [jira] [Commented] (MATH-868) Default sigma for CMAESOptimizer is wrong when using bounds 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-868?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13467227#comment-13467227 ] Gilles commented on MATH-868: ----------------------------- I think that it is the best we can do for now. > Default sigma for CMAESOptimizer is wrong when using bounds > ----------------------------------------------------------- > > Key: MATH-868 > URL: https://issues.apache.org/jira/browse/MATH-868 > Project: Commons Math > Issue Type: Bug > Reporter: Frank Hess > > The documentation suggests setting inputSigma to 1/3 the range you are fitting over. However, in CMAESOptimizer.initializeCMA() if boundaries are specified the sigmaArray is by default assigned a value of 0.3 divided by the range. If the user had specified the inputSigma to be 0.3 of the range (as suggested by the docs) then sigmaArray would have been assigned the value of 0.3. Thus, it looks like the 0.3 should not be divided by the range, only a user-specified inputSigma should get divided by the range. -- 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