Return-Path: Delivered-To: apmail-commons-issues-archive@locus.apache.org Received: (qmail 48788 invoked from network); 19 Aug 2008 04:44:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 19 Aug 2008 04:44:11 -0000 Received: (qmail 37146 invoked by uid 500); 19 Aug 2008 04:44:03 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 37073 invoked by uid 500); 19 Aug 2008 04:44:03 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 37053 invoked by uid 99); 19 Aug 2008 04:44:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Aug 2008 21:44:03 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Aug 2008 04:43:15 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 468B4234C1B8 for ; Mon, 18 Aug 2008 21:43:44 -0700 (PDT) Message-ID: <1287186212.1219121024287.JavaMail.jira@brutus> Date: Mon, 18 Aug 2008 21:43:44 -0700 (PDT) From: "Andrew Berry (JIRA)" To: issues@commons.apache.org Subject: [jira] Updated: (MATH-219) removeData methods for SimpleRegression In-Reply-To: <1827819086.1219120904263.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/MATH-219?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrew Berry updated MATH-219: ------------------------------ Attachment: SimpleRegressionTest_removeData.patch Patch for SimpleRegressionTest of apache commons math v1.2 > removeData methods for SimpleRegression > --------------------------------------- > > Key: MATH-219 > URL: https://issues.apache.org/jira/browse/MATH-219 > Project: Commons Math > Issue Type: New Feature > Reporter: Andrew Berry > Priority: Trivial > Attachments: SimpleRegression_removeData.patch, SimpleRegressionTest_removeData.patch > > > I've implemented removeData methods for the org.apache.commons.math.stat.regression.SimpleRegression class. They mirror the existing addData methods. My reason for adding them is to support regression calculations across a sliding window of (time-based) observations without having to recalculate for the entire window every time. > I'll attach patch files for the class and its junit test class. I'm not too concerned if these are added to the commons math library (I have made a copy in my own class hierarchy) but thought other might find this useful. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.