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 0E9BD735E for ; Mon, 7 Nov 2011 19:45:59 +0000 (UTC) Received: (qmail 76851 invoked by uid 500); 7 Nov 2011 19:45:59 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 76789 invoked by uid 500); 7 Nov 2011 19:45:59 -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 76781 invoked by uid 99); 7 Nov 2011 19:45:59 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Nov 2011 19:45:59 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [129.175.33.41] (HELO smtp1.u-psud.fr) (129.175.33.41) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Nov 2011 19:45:52 +0000 Received: from smtp1.u-psud.fr (localhost [127.0.0.1]) by localhost (MTA) with SMTP id 7FF322562CD; Mon, 7 Nov 2011 20:45:31 +0100 (CET) Received: from ext.lri.fr (ext.lri.fr [129.175.15.4]) by smtp1.u-psud.fr (MTA) with ESMTP id 3FC692562CC; Mon, 7 Nov 2011 20:45:31 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by ext.lri.fr (Postfix) with ESMTP id 3A84B407F3; Mon, 7 Nov 2011 20:45:31 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at lri.fr Received: from ext.lri.fr ([127.0.0.1]) by localhost (ext.lri.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ekXt663akXif; Mon, 7 Nov 2011 20:45:31 +0100 (CET) Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes References: <229269020.6606.1320673731884.JavaMail.tomcat@hel.zones.apache.org> Subject: Re: [jira] [Created] (MATH-702) CMA-ES optimizer input sigma should not be normalized by user To: issues@commons.apache.org, "Luc Maisonobe (Created) (JIRA)" From: "Nikolaus Hansen" Date: Mon, 07 Nov 2011 19:45:30 +0100 MIME-Version: 1.0 Content-Transfer-Encoding: Quoted-Printable Message-ID: In-Reply-To: <229269020.6606.1320673731884.JavaMail.tomcat@hel.zones.apache.org> User-Agent: Opera Mail/11.52 (MacIntel) X-Virus-Checked: Checked by ClamAV on apache.org good point. However, if the encoding/decoding methods can be defined coordinate-wise differently or are even non-linear (I am not aware wheth= er they can be or not), I am not sure you can come up with a sufficiently reasonable and comprehensible way to apply this transformation to sigma.= sigma is a scalar and positive, so it is a different object than the encoding/decoding methods are operating on, right? The interplay between sigma and an encoding is an unfortunately delicate= part in the user interface, but I don't really see a way to make it righ= t *and* look entirely obvious to the user. On Mon, 07 Nov 2011 14:48:51 +0100, Luc Maisonobe (Created) (JIRA) wrote: > CMA-ES optimizer input sigma should not be normalized by user > ------------------------------------------------------------- > > Key: MATH-702 > URL: https://issues.apache.org/jira/browse/MATH-702 > Project: Commons Math > Issue Type: Bug > Affects Versions: 3.0 > Reporter: Luc Maisonobe > Priority: Minor > Fix For: 3.0 > > > I am trying to use CMA-ES optimizer with simple boundaries. > > It seems the inputSigma parameter should be normalized as it is checke= d = > against the [0 - 1] range in the checkParameters private method and as= = > its value defaults to 0.3 if not not set in the initializeCMA private = = > method. > > I would have expected this value to be in the same units as the user = > parameters and to be normalized as part of an internal processing step= = > instead of relying to the user doing this. I think the method need = > normalized values internally, as per the encode/decode methods in the = = > inner class FitnessFunction suggest. > > The optimizer should accept values in the same units as the other = > parameters and use "encode" (or a similar function) to do the = > normalization. This way, normalization is considered an internal = > implementation detail. > > > > -- > 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.js= pa > For more information on JIRA, see: http://www.atlassian.com/software/j= ira > > -- = Science is a way of trying not to fool yourself. The first principle is that you must not fool yourself, and you are the easiest person to fool. So you have to be very careful about that. After you've not fooled yourself, it's easy not to fool other[ scientist]s. You just have to be honest in a conventional way after that. -- Richard P. Feynman Nikolaus Hansen INRIA, Research Centre Saclay =E2=80=93 Ile-de-France Machine Learning and Optimization group (TAO) University Paris-Sud (Orsay) LRI (UMR 8623), building 490 91405 ORSAY Cedex, France Phone: +33-1-691-56495, Fax: +33-1-691-54240 URL: http://www.lri.fr/~hansen