Return-Path: X-Original-To: apmail-commons-dev-archive@www.apache.org Delivered-To: apmail-commons-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A59DD76F7 for ; Mon, 7 Nov 2011 12:59:22 +0000 (UTC) Received: (qmail 105 invoked by uid 500); 7 Nov 2011 12:59:22 -0000 Delivered-To: apmail-commons-dev-archive@commons.apache.org Received: (qmail 99899 invoked by uid 500); 7 Nov 2011 12:59:22 -0000 Mailing-List: contact dev-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Developers List" Delivered-To: mailing list dev@commons.apache.org Received: (qmail 99891 invoked by uid 99); 7 Nov 2011 12:59:21 -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 12:59:21 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=FREEMAIL_FROM,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [80.67.169.19] (HELO solo.fdn.fr) (80.67.169.19) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Nov 2011 12:59:12 +0000 Received: from lehrin.spaceroots.org (reverse-229.fdn.fr [80.67.176.229]) by smtp.fdn.fr (Postfix) with ESMTP id 3D5444498A for ; Mon, 7 Nov 2011 13:58:52 +0100 (CET) Received: from [127.0.0.1] (lehrin.spaceroots.org [127.0.0.1]) by lehrin.spaceroots.org (Postfix) with ESMTP id BCE705F3FD for ; Mon, 7 Nov 2011 13:58:51 +0100 (CET) Message-ID: <4EB7D60B.5080302@free.fr> Date: Mon, 07 Nov 2011 13:58:51 +0100 From: Luc Maisonobe User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.23) Gecko/20111010 Icedove/3.1.15 MIME-Version: 1.0 To: Commons Developers List Subject: [math] CMA-ES input sigma X-Enigmail-Version: 1.1.2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hello, I am trying to use CMA-ES optimizer with simple boundaries. It seems the inputSigma parameter should be normalized as it is checked 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. What do you think about it ? Should we keep normalized inputSigma (end hence improve documentation so people know they have to normalize the value) or should we accept values in the same units as the other parameters and use "encode" to do the normalisation ? As far as I am concerned, I would prefer the second solution, i.e. keep normalization an internal implementation detail. Luc --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org For additional commands, e-mail: dev-help@commons.apache.org