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 34E4D8A40 for ; Fri, 9 Sep 2011 13:56:22 +0000 (UTC) Received: (qmail 5400 invoked by uid 500); 9 Sep 2011 13:56:21 -0000 Delivered-To: apmail-commons-dev-archive@commons.apache.org Received: (qmail 5290 invoked by uid 500); 9 Sep 2011 13:56:20 -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 5282 invoked by uid 99); 9 Sep 2011 13:56:20 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Sep 2011 13:56:20 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of phil.steitz@gmail.com designates 209.85.210.47 as permitted sender) Received: from [209.85.210.47] (HELO mail-pz0-f47.google.com) (209.85.210.47) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Sep 2011 13:56:11 +0000 Received: by pzk2 with SMTP id 2so3234901pzk.34 for ; Fri, 09 Sep 2011 06:55:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=U6Z8OvFbF/Nk1M6i2yu0tzBBTgrANeI2LPgN7aJXBDo=; b=ZKYDmQ2QjWpUumQ5t4GwMeSZuLPDxo3bNmTSZEJCCjIZvILXqxCAyROIqTeV368hvR mcy34AbrI1q+SCyh5dIu0gGE7ozhl692fa023u3olHF11AWstM8jqaWJIlrfKEAi8/Xo OsghgupLC5laFMwfEl76R/ZBoBqWecrZ8rv9U= Received: by 10.68.7.97 with SMTP id i1mr2737897pba.262.1315576550231; Fri, 09 Sep 2011 06:55:50 -0700 (PDT) Received: from [192.168.0.2] (75-171-18-48.phnx.qwest.net. [75.171.18.48]) by mx.google.com with ESMTPS id i4sm20314060pbr.4.2011.09.09.06.55.47 (version=SSLv3 cipher=OTHER); Fri, 09 Sep 2011 06:55:48 -0700 (PDT) Message-ID: <4E6A1AE1.9000003@gmail.com> Date: Fri, 09 Sep 2011 06:55:45 -0700 From: Phil Steitz User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:6.0.2) Gecko/20110902 Thunderbird/6.0.2 MIME-Version: 1.0 To: Commons Developers List Subject: Re: [Math] "LUDecomposition" in "AbstractLeastSquaresOptimizer" References: <20110907104543.GR2590@dusk.harfang.homelinux.org> <4E6767C3.1060103@free.fr> <20110907130559.GV2590@dusk.harfang.homelinux.org> <4E676DB3.7080905@free.fr> <20110907133412.GW2590@dusk.harfang.homelinux.org> <4E686B88.8090202@gmail.com> <20110908140918.GB19625@dusk.harfang.homelinux.org> <20110908152204.GC19625@dusk.harfang.homelinux.org> <20110909130022.GC2590@dusk.harfang.homelinux.org> In-Reply-To: <20110909130022.GC2590@dusk.harfang.homelinux.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org On 9/9/11 6:00 AM, Gilles Sadowski wrote: > Hi. > > On Thu, Sep 08, 2011 at 10:27:00AM -0500, Greg Sterijevski wrote: >> Could you be contaminating the cross product matrix when you do your >> accumulation? I noticed one of the utility classes has methods for doing >> safe accumulations. I know that this was part of the problem when I was >> trying to estimate the Wampler data with the MillerRegression. Just a >> thought... > To make sure, I've tried replacing the "sum" calculation in "getCovariances" > with one using "linearCombination for "MathUtils" but it still fails, so it > seems that the (default) threshold is too small, and I need to be able to > change it. Could be the best thing to do here is to make the DecompositionSolver pluggable (maybe just for the LMOptimizer, but with hooks in the base class)? That way you could provide an LU solver with whatever threshold you want or choose among the others. Do you know if the jTj matrix you end up trying to invert is analytically singular (like the one in the testNonInvertible test case for LMOptimizer)? Phil > > > Regards, > Gilles > > --------------------------------------------------------------------- > 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