Click4Ai

505.

Medium

Exponential Smoothing

**Problem:** Implement an Exponential Smoothing (ES) model to forecast a time series. Given a time series data, use the ES model to predict the next 12 values.

**Constraints:** The time series data is a univariate series with no seasonality.

**Example:** Suppose we have a time series of daily sales data with no seasonality. We can use the ES model to predict the next 12 days of sales.

Test Cases

Test Case 1
Input: [[1,2,3,4,5,6,7,8,9,10,11,12]]
Expected: [[13,14,15,16,17,18,19,20,21,22,23,24]]
Test Case 2
Input: [[1,2,3,4,5,6,7,8,9,10,11,12],[13,14,15,16,17,18,19,20,21,22,23,24]]
Expected: [[25,26,27,28,29,30,31,32,33,34,35,36]]
+ 3 hidden test cases