STUD-13. Improve numerical stability of mean statistic algorithm #525
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "qwazer/kmath:STUD-13"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Replace naive summation that prone to floating-point errors (loss of precision) by Welford’s Online Algorithm which updates mean incrementally. The later algorithm is more numerically stable.
The cons is slightly higher computational overhead.
The test failed with previous implementation