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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Name Data Type Default Value Description Dependency<br />

IGNORE_ZERO Integer 0 ● 0: Uses zero values<br />

in the input<br />

dataset when calculating<br />

MPE or<br />

MAPE.<br />

● 1: Ignores zero<br />

values in the input<br />

dataset when calculating<br />

MPE or<br />

MAPE.<br />

Only valid when MEAS­<br />

URE_NAME is MPE or<br />

MAPE.<br />

EXPOST_FLAG Integer 1 ● 0: Does not output<br />

the expost<br />

forecast, and just<br />

outputs the forecast<br />

values.<br />

● 1: Outputs the expost<br />

forecast and<br />

the forecast values.<br />

PREDICTION_CONFI­<br />

DENCE_1<br />

Double 0.8 Prediction confidence<br />

for interval 1<br />

Only valid when the<br />

upper and lower columns<br />

are provided in<br />

the result table.<br />

PREDICTION_CONFI­<br />

DENCE_2<br />

Double 0.95 Prediction confidence<br />

for interval 2<br />

Only valid when the<br />

upper and lower columns<br />

are provided in<br />

the result table.<br />

Note<br />

Cycle determines the seasonality within the time series data by considering the seasonal factor of a data<br />

point t-CYCLE+1 in the forecast calculation of data point t+1 . Additionally, the algorithm of TESM takes an entire<br />

CYCLE as the base to calculate the first forecasted value for data point CYCLE+1 . The value for CYCLE should<br />

be within the range of 2 ≤ CYCLE ≤ entire number of data point/2.<br />

For example, there is one year of weekly data (52 data points) as input time series. The value for CYCLE<br />

should range within 2 ≤ CYCLE ≤ 26. If CYCLE is 4, we get the first forecast value for data point 5 (e.g. week<br />

201205) which considers the seasonal factor of data point 1 (e.g. week 201201). The second forecast value<br />

for data point 6 (e.g. week 201206) considers the seasonal factor of data point 2 (e.g. week 201202), etc. If<br />

CYCLE is 2, then we get the first forecast value for data point 3 (e.g. week 201203) which considers the<br />

seasonal factor of data point 1 (e.g. week 201201). The second forecast value for data point 4 (e.g. week<br />

201204) considers the seasonal factor of data point 2 (e.g. week 201202), etc.<br />

412 P U B L I C<br />

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

<strong>PAL</strong> Functions

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

Saved successfully!

Ooh no, something went wrong!