Return-Path: X-Original-To: apmail-commons-user-archive@www.apache.org Delivered-To: apmail-commons-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 15E7B7808 for ; Tue, 29 Nov 2011 19:49:14 +0000 (UTC) Received: (qmail 31869 invoked by uid 500); 29 Nov 2011 19:49:12 -0000 Delivered-To: apmail-commons-user-archive@commons.apache.org Received: (qmail 31792 invoked by uid 500); 29 Nov 2011 19:49:12 -0000 Mailing-List: contact user-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Users List" Delivered-To: mailing list user@commons.apache.org Received: (qmail 31784 invoked by uid 99); 29 Nov 2011 19:49:12 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Nov 2011 19:49:12 +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 (athena.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; Tue, 29 Nov 2011 19:49:04 +0000 Received: from lehrin.spaceroots.org (reverse-229.fdn.fr [80.67.176.229]) by smtp.fdn.fr (Postfix) with ESMTP id F30C74439D for ; Tue, 29 Nov 2011 20:48:41 +0100 (CET) Received: from [127.0.0.1] (lehrin.spaceroots.org [127.0.0.1]) by lehrin.spaceroots.org (Postfix) with ESMTP id 33FAF5F3ED for ; Tue, 29 Nov 2011 20:48:55 +0100 (CET) Message-ID: <4ED53726.8030504@free.fr> Date: Tue, 29 Nov 2011 20:48:54 +0100 From: Luc Maisonobe User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.24) Gecko/20111114 Icedove/3.1.16 MIME-Version: 1.0 To: Commons Users List Subject: Re: [math] EigenDecompositionImpl -- maxIters causing troubles? References: <4ED3FFF2.1020001@gmail.com> In-Reply-To: <4ED3FFF2.1020001@gmail.com> X-Enigmail-Version: 1.1.2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Le 28/11/2011 22:41, Maciej Rubikowski a écrit : > Hello, Hi Maciej, > > before I fill in the bug report, I want to ask if anyone had similar > issue before. Maybe I simply misunderstood the whole idea behind > EigenDecomposition, but I think what I've come up with is in fact a > serious limitation. > > I've tried to decompose a covariance matrix, approximately 1000x1000 > big. After few seconds I've ended up with a > MaxIterationsExceededException. I've investigated the cause and found > the following field in EigenDecompositionImpl: > > /** Maximum number of iterations accepted in the implicit QL > transformation */ > private byte maxIter = 30; > > Does anyone know any reason for hard-coding such value? What are the > true limitations of the EigenDecomposition? Is there any way to get > around it? We could probably add new constructors that would allow users to choose another setting for this value, and let 30 be only a default one. Did you try to temporarily change this limit in the code to see if this solved your problem ? If so, you should open a Jira issue. Of course, if you feel so inclined, you can also provide a patch for this, adding the new constructors. best regards, Luc > > > Best regards, > Maciej Rubikowski > Warsaw University of Technology / Institute of Computer Science > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@commons.apache.org > For additional commands, e-mail: user-help@commons.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@commons.apache.org For additional commands, e-mail: user-help@commons.apache.org