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 DB4AAEB87 for ; Sat, 29 Dec 2012 09:31:11 +0000 (UTC) Received: (qmail 85441 invoked by uid 500); 29 Dec 2012 09:31:10 -0000 Delivered-To: apmail-commons-dev-archive@commons.apache.org Received: (qmail 85345 invoked by uid 500); 29 Dec 2012 09:31:10 -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 85326 invoked by uid 99); 29 Dec 2012 09:31:10 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 29 Dec 2012 09:31:10 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [164.15.128.112] (HELO mxin.ulb.ac.be) (164.15.128.112) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 29 Dec 2012 09:31:03 +0000 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av8EANS23lCkD30x/2dsb2JhbABFFr1OFnOCHgEBBAE4AkQJAgstBwsHFjARBhMZh3QGDK8rh3QEjWGDNQObZIpwgnU Received: from astropc8.ulb.ac.be ([164.15.125.49]) by smtp.ulb.ac.be with ESMTP; 29 Dec 2012 10:30:41 +0100 Date: Sat, 29 Dec 2012 10:22:20 +0100 (CET) From: Dimitri Pourbaix X-X-Sender: pourbaix@astropc8.ulb.ac.be To: Commons Developers List Subject: Re: [math] major problem with new released version 3.1 In-Reply-To: <20121229030933.GJ24843@dusk.harfang.homelinux.org> Message-ID: References: <50DDBF6B.4040101@spaceroots.org> <50DDC860.7060703@gmail.com> <07E3B3D2-E7AE-4BAB-8872-ED88823B6200@gmail.com> <50DDDDAA.2030106@free.fr> <50DDE0D6.4050801@gmail.com> <50DDE663.1090300@free.fr> <50DDE93D.8010308@gmail.com> <50DE0002.9000105@free.fr> <20121229030933.GJ24843@dusk.harfang.homelinux.org> User-Agent: Alpine 2.02 (DEB 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Checked: Checked by ClamAV on apache.org Gilles, > Handling weighted observations must take correlations into account, i.e. use > a _matrix_. > There is the _practical_ problem of memory. Solving it correctly is by > using a sparse implementation (and this is actually an implementation > _detail_). The problem is where something becomes a detail! You are right that the general least square problem copes with a matrix of weights ... but the way it is implemented is a detail. As already pointed out, even the vector of weights API allows for a complicated matrix of weights. The user premultiplies by the 'square root' of that matrix and sets all the compo- nents of the weight vector to 1. So, your enthusiasm to generalise the vector of weights to a matrix was a detail to make the life of very few users easier ... without adding any functionality. There are so many different configurations (e.g. block diagonal, ...), I doubt you can handle all of them in the most efficient way so it is likely preferable to have the user taking care of them. It is however true that simple weights (i.e. vector form) are a very usual situation ... which is also very common in fitting tools. So, I think CM should offer that approach as well. In conclusion: the old CM 3.0 API was enough! :) Regards, Dim. ---------------------------------------------------------------------------- Dimitri Pourbaix * Don't worry, be happy Institut d'Astronomie et d'Astrophysique * and CARPE DIEM. CP 226, office 2.N4.211, building NO * Universite Libre de Bruxelles * Tel : +32-2-650.35.71 Boulevard du Triomphe * Fax : +32-2-650.42.26 B-1050 Bruxelles * NAC: HBZSC RG2Z6 http://sb9.astro.ulb.ac.be/~pourbaix * mailto:pourbaix@astro.ulb.ac.be --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org For additional commands, e-mail: dev-help@commons.apache.org