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.

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

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

Signature<br />

Input Tables<br />

Table 7:<br />

Table Column Column Data Type Description Constraint<br />

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

or nvarchar<br />

ID<br />

This must be the first<br />

column.<br />

Other columns Integer or double Attribute data<br />

Seed Data 1st column Integer, bigint, varchar,<br />

or nvarchar<br />

ID<br />

This must be the first<br />

column<br />

2nd column Integer Selected seed ID A subset of the first<br />

column of the Input<br />

Table.<br />

Parameter Table<br />

Mandatory Parameters<br />

The following parameters are mandatory and must be given a value.<br />

Table 8:<br />

Name Data Type Description<br />

DISTANCE_METHOD Integer The method to compute the distance<br />

between two points.<br />

●<br />

●<br />

●<br />

●<br />

●<br />

●<br />

1: Manhattan<br />

2: Euclidean<br />

3: Minkowski<br />

4: Chebyshev<br />

5: Standardised Euclidean<br />

6: Cosine<br />

CLUSTER_NUMBER Integer Number of clusters.<br />

●<br />

●<br />

0: does not adjust AP Cluster result.<br />

Non-zero integer: If AP cluster<br />

number is bigger than CLUS­<br />

TER_NUMBER, <strong>PAL</strong> will merge the<br />

result to make the cluster number<br />

be the value specified for CLUS­<br />

TER_NUMBER.<br />

Optional Parameters<br />

The following parameters are optional. If a parameter is not specified, <strong>PAL</strong> will use its default value.<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 21

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

Saved successfully!

Ooh no, something went wrong!