Fix jumpavg: No negative variance from rounding 76/13276/2
authorVratko Polak <vrpolak@cisco.com>
Thu, 28 Jun 2018 11:07:14 +0000 (13:07 +0200)
committerTibor Frank <tifrank@cisco.com>
Thu, 28 Jun 2018 12:07:43 +0000 (12:07 +0000)
commita60792260765e15cebae10d2c54fb2c3aef75d77
treecc32cf1641ce2f1f0e80b160530c9e93cbd30884
parentfe757aee086b669ab042a9216f7e01a2d9a7ffcb
Fix jumpavg: No negative variance from rounding

The algorithm for computing stdev has been changed
to a more stable one, based on Welford's algorithm.

Change-Id: I51e02d9c5c26cda0d4e998381d5011aa793e6483
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
PyPI/jumpavg/jumpavg/AvgStdevMetadataFactory.py

©2016 FD.io a Linux Foundation Collaborative Project. All Rights Reserved.
Linux Foundation is a registered trademark of The Linux Foundation. Linux is a registered trademark of Linus Torvalds.
Please see our privacy policy and terms of use.