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

CATEGORY_COL Integer No default value Indicates whether the<br />

column of integer type<br />

is category variable.<br />

By default, 'string' is<br />

category variable and<br />

'integer' or 'double' is<br />

continuous variable.<br />

THREAD_NUMBER Integer 1 Number of threads. Ignored when TRAIN­<br />

ING_STYLE is 1.<br />

Output Tables<br />

Table 93:<br />

Table Column Column Data Type Description<br />

Result 1st column Varchar or nvarchar Statistic result name<br />

2nd column Double Statistic result value<br />

Model 1st column Varchar or nvarchar Model type<br />

2nd column CLOB Model saved as string<br />

Active Function Code<br />

● TANH = 1<br />

● LINEAR = 2<br />

● SIGMOID_ASYMMETRIC = 3<br />

● SIGMOID_SYMMETRIC = 4<br />

● GAUSSIAN_ASYMMETRIC = 5<br />

● GAUSSIAN_SYMMETRIC = 6<br />

● ELLIOT_ASYMMETRIC = 7<br />

● ELLIOT_SYMMETRIC = 8<br />

● SIN_ASYMMETRIC = 9<br />

● SIN_SYMMETRIC = 10<br />

● COS_ASYMMETRIC = 11<br />

● COS_SYMMETRIC = 12<br />

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

Classification example:<br />

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

--TRAINING PART<br />

--CREATE TABLE TYPE<br />

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

CREATE TYPE <strong>PAL</strong>_TRAIN_NN_DATA_T AS TABLE(<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 129

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

Saved successfully!

Ooh no, something went wrong!