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 D1B2610CAC for ; Tue, 18 Feb 2014 22:57:31 +0000 (UTC) Received: (qmail 84067 invoked by uid 500); 18 Feb 2014 22:57:29 -0000 Delivered-To: apmail-commons-dev-archive@commons.apache.org Received: (qmail 83927 invoked by uid 500); 18 Feb 2014 22:57:29 -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 83918 invoked by uid 99); 18 Feb 2014 22:57:29 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Feb 2014 22:57:29 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [132.250.34.42] (HELO SpaceCAS.spacenet.nrl.navy.mil) (132.250.34.42) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Feb 2014 22:57:22 +0000 Received: from [IPv6:2001:480:20:30:21f:bcff:fe0e:a0b] (2001:480:20:30:21f:bcff:fe0e:a0b) by SpaceCAS.nrl.navy.mil (2001:480:20:34:34::42) with Microsoft SMTP Server (TLS) id 14.3.174.1; Tue, 18 Feb 2014 17:57:00 -0500 Message-ID: <5303E53C.3000207@nrl.navy.mil> Date: Tue, 18 Feb 2014 17:57:00 -0500 From: Evan Ward User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: Subject: Re: [math] refactoring least squares References: In-Reply-To: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [2001:480:20:30:21f:bcff:fe0e:a0b] X-Virus-Checked: Checked by ClamAV on apache.org On 02/18/2014 09:51 AM, luc wrote: > Hi all, > > As you have probably noticed, I have committed the changes proposed by > Evan. This ends up to about 20 different commits, > as I have tried to stick with the progressive changes he made in his > Github repository. Some of the initial commits > do not abide by our development rules (missing Apache headers, author > tags or some checkstyle problems), but some have been > fixed in intermediate commits by Evan himself months ago during the > discussions with Gilles, and I have fixed the remaining > ones in the final commits. So if you take the current status, it is > compliant. > > I kept the single leastsquares package, so did not introduce an > additional leastsquares2. > > I have also taken care to preserve all changes already done since last > summer when Evan designed his code. In particular, this > means the new curve fitters have been adapted so they both use the new > package and fix MAX-1014 has Gilles already did that. > > I would like to ask Evan to check in case I have mixed something, and > after this check we can look at polishing this and > perhaps extending some parts to other optimizers or move some > interfaces upward if necessary. Thanks Luc! It looks good to me. One thing I would like to change/add before the 3.3 release are the decomposition algorithms for GaussNewton. Using a CholeskyDecomposition on the normal equations should be faster than LU by a factor of 2. Similarly, using QR on the Jacobian, before forming the normal equations should be more stable than any method that forms the normal equations. I can implement these changes as extra Decomposition options. What is the best way to send the patches? Attachments on JIRA? Pull requests on github? Out of curiosity, why is /** {@inheritDoc} */ required? Isn't that the default? Best Regards, Evan > best regards > Luc > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org > For additional commands, e-mail: dev-help@commons.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org For additional commands, e-mail: dev-help@commons.apache.org