kieker.tools.opad.timeseries.forecast.mean
Class MeanForecasterJava
java.lang.Object
kieker.tools.opad.timeseries.forecast.AbstractForecaster<java.lang.Double>
kieker.tools.opad.timeseries.forecast.mean.MeanForecasterJava
- All Implemented Interfaces:
- IForecaster<java.lang.Double>
public class MeanForecasterJava
- extends AbstractForecaster<java.lang.Double>
A Java-based time series forecaster which computes a forecast based on the mean value of the historic values.
- Since:
- 1.10
- Author:
- Andre van Hoorn
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MeanForecasterJava
public MeanForecasterJava(ITimeSeries<java.lang.Double> historyTimeseries)
- Parameters:
historyTimeseries
- TimeSeries
forecast
public IForecastResult forecast(int numForecastSteps)
- Description copied from interface:
IForecaster
- Performs a time series forecast for the given number of steps in the future.
- Parameters:
numForecastSteps
- number of values the forecaster is going to forecast
- Returns:
- Forecast Result
removeNullValues
public static java.lang.Double[] removeNullValues(java.util.List<java.lang.Double> allHistory)
- Parameters:
allHistory
- List there null values should deltet in this function
- Returns:
- List/Array with no NullValues
supportsConfidence
protected boolean supportsConfidence()
- Overrides:
supportsConfidence
in class AbstractForecaster<java.lang.Double>
Copyright 2015 Kieker Project, http://kieker-monitoring.net