[ 
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.

Reply via email to