Loading [MathJax]/extensions/tex2jax.js
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Functions
Forecast methods

Forecasts future points from fitted HoltWinters model. More...

Functions

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)
 

Detailed Description

Forecasts future points from fitted HoltWinters model.

Parameters
[in]handlecuml handle to use across the algorithm
[in]nn_samples in time-series
[in]batch_sizenumber of time-series in X
[in]frequencynumber of periods in a season of the time-series
[in]hnumber of future points to predict in the time-series
[in]seasonaltype of seasonal component (ADDITIVE or MULTIPLICATIVE)
[out]level_ddevice pointer to array which holds level components
[out]trend_ddevice pointer to array which holds trend components
[out]season_ddevice pointer to array which holds season components
[out]forecast_ddevice pointer to array which will hold the forecast points
Returns
CUML_SUCCESS on success and other corresponding flags upon any failures.

Function Documentation

◆ cumlHoltWintersDp_forecast()

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 
)

◆ cumlHoltWintersSp_forecast()

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 
)