public class TimeSeriesUtils extends Object
Constructor and Description |
---|
TimeSeriesUtils() |
Modifier and Type | Method and Description |
---|---|
static org.nd4j.linalg.api.ndarray.INDArray |
movingAverage(org.nd4j.linalg.api.ndarray.INDArray toAvg,
int n)
Calculate a moving average given the length
|
public static org.nd4j.linalg.api.ndarray.INDArray movingAverage(org.nd4j.linalg.api.ndarray.INDArray toAvg, int n)
toAvg
- the array to averagen
- the length of the moving windowCopyright © 2015. All Rights Reserved.