Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8252859

Inconsistent use of alpha in class AbsSeq

    XMLWordPrintable

Details

    • Enhancement
    • Status: Resolved
    • P4
    • Resolution: Fixed
    • None
    • 16
    • hotspot
    • None
    • b15
    • generic
    • generic

    Description

      Field `_alpha` in `AbsSeq` is supposed to be the exponential smoothing factor, but its usage in the source code is actually inverted. In other words, `1.0 - _alpha` in the source code is corresponding to the actual smoothing factor often used in the literature. Background reading: https://en.wikipedia.org/wiki/Exponential_smoothing

      This inconsistency was discovered in https://bugs.openjdk.java.net/browse/JDK-8252093, but not addressed in that patch to avoid mixing different concerns.

      Attachments

        Issue Links

          Activity

            People

              ayang Albert Yang
              ayang Albert Yang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: