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.

F 1 = a 0 + b 0<br />

2. Calculation:<br />

S t = αx t + (1 – α)S t–1<br />

T t = αS t + (1 – α) T t–1<br />

a t = 2S t – T t<br />

F t+1 = a t + b t<br />

For adaptive brown exponential smoothing, you need to update the parameter of α for every forecasting. The<br />

following rules must be satisfied.<br />

1. Initialization:<br />

S 0 = x 0<br />

T 0 = x 0<br />

a 0 = 2S 0 – T 0<br />

F 1 = a 0 + b 0<br />

A 0 = M 0 = 0<br />

α 1 = α 2 = α 3 = δ = 0.2<br />

2. Calculation:<br />

E t = x t – F t<br />

A t = δE t + (1 – δ)A t–1<br />

M t = δ|E t | + (1 – δ)M t–1<br />

St = α t x t + (1 – α t )S t–1<br />

T t = α t S t + (1 – α t )T t–1<br />

a t = 2S t – T t<br />

F t+1 = a t + b t<br />

Where α, δ ∈(0,1) are two user specified parameters. The model can be viewed as two coupled single<br />

exponential smoothing models, and thus forecast can be made by the following equation:<br />

F T+m = a T + mb T<br />

Note<br />

F 0 is not defined because there is no estimation for the time slot 0. According to the definition, you can get<br />

F 1 = a 0 + b 0 and so on.<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 355

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

Saved successfully!

Ooh no, something went wrong!