Forecasts future points from fitted HoltWinters model.
More...
|
cumlError_t | cumlHoltWintersSp_forecast (cumlHandle_t handle, int n, int batch_size, int frequency, int h, cumlHoltWintersSeasonal_t seasonal, float *level_ptr, float *trend_ptr, float *season_ptr, float *forecast_ptr) |
|
cumlError_t | cumlHoltWintersDp_forecast (cumlHandle_t handle, int n, int batch_size, int frequency, int h, cumlHoltWintersSeasonal_t seasonal, double *level_ptr, double *trend_ptr, double *season_ptr, double *forecast_ptr) |
|
Forecasts future points from fitted HoltWinters model.
- Parameters
-
[in] | handle | cuml handle to use across the algorithm |
[in] | n | n_samples in time-series |
[in] | batch_size | number of time-series in X |
[in] | frequency | number of periods in a season of the time-series |
[in] | h | number of future points to predict in the time-series |
[in] | seasonal | type of seasonal component (ADDITIVE or MULTIPLICATIVE) |
[out] | level_d | device pointer to array which holds level components |
[out] | trend_d | device pointer to array which holds trend components |
[out] | season_d | device pointer to array which holds season components |
[out] | forecast_d | device pointer to array which will hold the forecast points |
- Returns
- CUML_SUCCESS on success and other corresponding flags upon any failures.
◆ cumlHoltWintersDp_forecast()
◆ cumlHoltWintersSp_forecast()