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.

Table 95:<br />

Table Column Column Data Type Description<br />

Predicted data 1st column Integer ID<br />

Other columns<br />

Integer, double, varchar, or<br />

nvarchar<br />

Data to make prediction<br />

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

2nd column CLOB, varchar, or nvarchar Model string<br />

Parameter Table<br />

Mandatory Parameters<br />

None.<br />

Optional Parameter<br />

The following parameter is optional. If it is not specified, <strong>PAL</strong> will use its default value.<br />

Table 96:<br />

Name Data Type Default Value Description<br />

THREAD_NUMBER Integer 1 Number of threads.<br />

Output Table<br />

Table 97:<br />

Table Column Column Data Type Description<br />

Result 1st column Integer ID<br />

Other column(s)<br />

Same as the last column of<br />

the training table if the model<br />

is for classification; and double<br />

if the model is for regression.<br />

Classification or regression<br />

result<br />

Softmax (optional: only used<br />

for classification)<br />

1st column Integer ID<br />

2nd column<br />

Same as the data type of the<br />

last column of the training<br />

data table.<br />

Category label for classification<br />

3rd column Double Softmax value<br />

Examples<br />

Assume that:<br />

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

Table <strong>PAL</strong>_CLASSIFICATION_NN_MODEL_TBL and <strong>PAL</strong>_REGRESSION_NN_MODEL_TBL store the trained<br />

neural network model under schema DM_<strong>PAL</strong>.<br />

134 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!