use of com.axibase.tsd.api.model.series.query.transformation.forecast.HoltWintersSettings in project atsd-api-test by axibase.
the class SeriesQueryForecastTimeFilterTest method buildForecastSettings.
private Forecast buildForecastSettings() {
HoltWintersSettings hwSettings = new HoltWintersSettings().setAlpha(0.5).setBeta(0.5).setGamma(0.5).setAuto(false).setPeriod(new Period(1, TimeUnit.DAY));
List<SeriesType> include = Arrays.asList(SeriesType.RECONSTRUCTED, SeriesType.FORECAST);
return new Forecast().setHw(hwSettings).setInclude(include).setScoreInterval(new Interval(1, TimeUnit.DAY));
}
Aggregations