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.

Table 78:<br />

Table Column Column Data Type Description Constraint<br />

Data Last column Integer, bigint, varchar,<br />

or nvarchar<br />

Class label<br />

This must be the last<br />

column.<br />

Other columns<br />

Integer, double, varchar,<br />

or nvarchar<br />

Attribute data<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 79:<br />

Name Data Type Default Value Description Dependency<br />

DISTANCE_LEVEL Integer 2 Computes the distance<br />

between the<br />

item and the cluster<br />

center.<br />

●<br />

●<br />

●<br />

●<br />

1: Manhattan distance<br />

2: Euclidean distance<br />

3: Minkowski distance<br />

4: Chebyshev distance<br />

MINKOWSKI_POWER Double 3 When you use the Minkowski<br />

distance, this<br />

parameter controls<br />

the value of power.<br />

Only valid when DIS­<br />

TANCE_LEVEL is 3.<br />

NORMALIZATION Integer 0 Normalization type:<br />

●<br />

●<br />

●<br />

0: No<br />

1: Yes. For each<br />

point X<br />

(x1,x2,...,xn), the<br />

normalized value<br />

will be X'(x1/<br />

S,x2/S,...,xn/S),<br />

where S = |x1|+|<br />

x2|+...|xn|.<br />

2: For each column<br />

C, get the<br />

min and max<br />

value of C, and<br />

then C[i] = (C[i]-<br />

min)/(max-min).<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 115

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

Saved successfully!

Ooh no, something went wrong!