signaflo / java-timeseries

Time series analysis in Java
MIT License
195 stars 49 forks source link

day time predict #45

Open shiwla opened 3 years ago

shiwla commented 3 years ago

double[] series = new double[]{1, 46, 8, 3, 4, 6, 9, 2, 16, 3}; TimeSeries timeSeries = TimeSeries.from(TimePeriod.oneDay(), series);

The product of lag and times must be less than or equal to the length of the series, but 1 * 365 = 365 is greater than 9