Uploaded image for project: 'Drools'
  1. Drools
  2. DROOLS-1424

Variance and standard deviation function in Drools out of the box

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Major Major
    • 7.0.0.Beta8
    • None
    • core engine
    • None
    • NEW
    • NEW

      After a bunch of research I've found the way to do this efficiently:
      https://en.wikipedia.org/wiki/Algorithms_for_calculating_variance#Online_algorithm
      Simply use Welford's algorithm.

              gdesmet@redhat.com Geoffrey De Smet (Inactive)
              gdesmet@redhat.com Geoffrey De Smet (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: