Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-10767

Add movingAvg Stream Evaluator

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Resolved
    • None
    • 6.7, 7.0
    • None
    • None

    Description

      The movingAvg Stream Evaluator computes a moving average from an array of numbers.

      m = movingAvg(colA, 30)
      

      The code above computes the moving average for colA with a window size of 30. The output will be an array of moving averages the size of (length(colA)+1) - 30.

      Implementation provided by Apache Commons Math

      Attachments

        1. SOLR-10767.patch
          3 kB
          Joel Bernstein
        2. SOLR-10767.patch
          3 kB
          Joel Bernstein
        3. SOLR-10767.patch
          6 kB
          Joel Bernstein

        Issue Links

          Activity

            People

              jbernste Joel Bernstein
              jbernste Joel Bernstein
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: