25.10.2016 Views

SAP HANA Predictive Analysis Library (PAL)

sap_hana_predictive_analysis_library_pal_en

sap_hana_predictive_analysis_library_pal_en

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>PAL</strong>_FORECASTACCURACYMEASURES_RESULT_TBL:<br />

3.5.6 Forecast Smoothing<br />

Forecast smoothing is used to calculate optimal parameters of a set of smoothing functions in <strong>PAL</strong>, including<br />

Single Exponential Smoothing, Double Exponential Smoothing, and Triple Exponential Smoothing.<br />

This function also outputs the forecasting results based on these optimal parameters. This optimization is<br />

computed by exploring of the parameter space which includes all possible parameter combinations. The<br />

quality assessment is done by comparing historic and forecast values. In <strong>PAL</strong>, MSE (mean squared error) or<br />

MAPE (mean absolute percentage error) is used to evaluate the quality of the parameters.<br />

The parameter optimization is based on global and local search algorithms. The global search algorithm used<br />

in this function is simulated annealing, whereas the local search algorithm is Nelder Mead. Those algorithms<br />

allow for efficient search processes.<br />

To evaluate the flexibility of the function, a train-and-test scheme is carried out. In other words, a partition of<br />

the time series is allowed, of which the former one is used to train the parameters, whereas the latter one is<br />

applied to test.<br />

The error of every forecast value is calculated as follows:<br />

D i =(1+i* ∝ 2 )*E<br />

Where ∝ is the weight of smoothing and E is the calculated MSE or MAPE value.<br />

Prerequisites<br />

●<br />

●<br />

No missing or null data in the inputs.<br />

The data is numeric, not categorical.<br />

<strong>SAP</strong> <strong>HANA</strong> <strong>Predictive</strong> <strong>Analysis</strong> <strong>Library</strong> (<strong>PAL</strong>)<br />

<strong>PAL</strong> Functions P U B L I C 369

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!