Uploaded image for project: 'Commons Math'
  1. Commons Math
  2. MATH-219

removeData methods for SimpleRegression

Rank to TopRank to BottomVotersWatch issueWatchersConvert to sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 1.2
    • Fix Version/s: None
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

          $i18n.getText('security.level.explanation', $currentSelection) Viewable by All Users
          Cancel

            People

            • Assignee:
              Unassigned
              Reporter:
              drpump95 Andrew Berry

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment