Documentation of 'net.sourceforge.openforecast.tests.DoubleExponentialSmoothingTest' Java class
DoubleExponentialSmoothingTest
net.sourceforge.openforecast.tests

Class DoubleExponentialSmoothingTest

  • All Implemented Interfaces:
    junit.framework.Test


    public class DoubleExponentialSmoothingTest
    extends OpenForecastTestCase
    Tests the implementation of the Double Exponential Smoothing forecasting model.
    Since:
    0.4
    • Constructor Summary

      Constructors 
      Constructor and Description
      DoubleExponentialSmoothingTest(java.lang.String name)
      Constructor required by the JUnit framework.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void testConstantDoubleExponentialSmoothing()
      A simple exponential smoothing test where the observed data is constant.
      void testDoubleExponentialSmoothing()
      A somewhat more realistic test where the results are known (and were calculated independently of the model).
      • Methods inherited from class junit.framework.TestCase

        assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, countTestCases, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, setName, toString
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • DoubleExponentialSmoothingTest

        public DoubleExponentialSmoothingTest(java.lang.String name)
        Constructor required by the JUnit framework.
    • Method Detail

      • testConstantDoubleExponentialSmoothing

        public void testConstantDoubleExponentialSmoothing()
        A simple exponential smoothing test where the observed data is constant. This should result in the same constant forecast for any value of the smoothing constant.
      • testDoubleExponentialSmoothing

        public void testDoubleExponentialSmoothing()
        A somewhat more realistic test where the results are known (and were calculated independently of the model). Validates that the DoubleExponentialSmoothingModel returns the expected set of results for the given inputs.

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.