com.github.servicenow.ds.stats.stl
Class CyclicSubSeriesSmoother
- java.lang.Object
-
- com.github.servicenow.ds.stats.stl.CyclicSubSeriesSmoother
-
public class CyclicSubSeriesSmoother extends java.lang.ObjectEncapsulate the complexity of smoothing the cyclic sub-series in a separate class.Created by Jim Crotinger on 13-May-2016.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class and Description static classCyclicSubSeriesSmoother.BuilderUse Builder to simplify complex construction patterns.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidsmoothSeasonal(double[] rawData, double[] smoothedData, double[] weights)Run the cyclic sub-series smoother on the specified data, with the specified weights (ignored if null).
-
-
-
Method Detail
-
smoothSeasonal
public void smoothSeasonal(double[] rawData, double[] smoothedData, double[] weights)Run the cyclic sub-series smoother on the specified data, with the specified weights (ignored if null). The sub-series are reconstructed into a single series in smoothedData.- Parameters:
rawData- input datasmoothedData- output dataweights- weights to use in the underlying interpolator; ignored if null.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG