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.

Name Data Type Default Value Description Dependency<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 />

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 />

Output Tables<br />

Table 281:<br />

Table Column Column Data Type Description<br />

Result 1st column Varchar or nvarchar Name<br />

2nd column Double Value<br />

Forecast 1st column Integer Time stamp<br />

2nd column Double Forecasted value<br />

Example<br />

Assume that:<br />

●<br />

●<br />

●<br />

DM_<strong>PAL</strong> is a schema belonging to USER1; and<br />

USER1 has been assigned the AFLPM_CREATOR_ERASER_EXECUTE role; and<br />

USER1 has been assigned the AFL__SYS_AFL_AFL<strong>PAL</strong>_EXECUTE or<br />

AFL__SYS_AFL_AFL<strong>PAL</strong>_EXECUTE_WITH_GRANT_OPTION role.<br />

SET SCHEMA DM_<strong>PAL</strong>;<br />

DROP TYPE <strong>PAL</strong>_FORECASTSLR_DATA_T;<br />

CREATE TYPE <strong>PAL</strong>_FORECASTSLR_DATA_T AS TABLE(<br />

"TIMESTAMP" INTEGER,<br />

"Y" DOUBLE);<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 391

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

Saved successfully!

Ooh no, something went wrong!