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.

Position Schema Name Table Type Name Parameter Type<br />

2 IN<br />

3 <br />

4 <br />

IN<br />

OUT<br />

Procedure Calling<br />

CALL .(, , , ) with overview;<br />

The procedure name is the same as specified in the procedure generation.<br />

The input, parameter, and output tables must be of the types specified in the signature table.<br />

Signature<br />

Input Tables<br />

Table 156:<br />

Table Column Column Data Type Description Constraint<br />

Data 1st column Integer, varchar, or<br />

nvarchar<br />

ID<br />

This must be the first<br />

column.<br />

Other columns<br />

Integer, double, varchar,<br />

or nvarchar<br />

Data fields<br />

Tree Model 1st column Integer ID<br />

2nd column Varchar or nvarchar Tree model string<br />

Parameter Table<br />

Mandatory Parameters<br />

None.<br />

Optional Parameters<br />

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

Table 157:<br />

Name Data Type Default Value Description<br />

MODEL_FORMAT Integer 0 ● 0: Deserializes the tree<br />

model from JSON format.<br />

●<br />

1: Deserializes the tree<br />

model from PMML format.<br />

THREAD_NUMBER Integer 1 Number of threads.<br />

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