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.

Name Data Type Default Value Description<br />

NORMALIZATION Integer 0 Normalization type:<br />

●<br />

●<br />

0: No<br />

1: Yes. For each point<br />

X(x1,x,…,xn), the normalized<br />

value will be<br />

X'(x1/S,x2/S,...,xn/S),<br />

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

xn|.<br />

● 2: For each column C,<br />

get the min and max<br />

value of C, and then C[i]<br />

= (C[i]-min)/(max-min).<br />

THREAD_NUMBER Integer 1 Number of threads. The default<br />

is 1.<br />

EXIT_THRESHOLD Double 0.000000001 Threshold (actual value) for<br />

exiting the iterations.<br />

Output Tables<br />

Table 18:<br />

Table Column Column Data Type Description<br />

Outliers 1st column Integer, bigint, varchar, or<br />

nvarchar<br />

ID<br />

Other columns Integer or double Coordinates of outliers<br />

Statistics 1st column Integer, bigint, varchar, or<br />

nvarchar<br />

ID<br />

2nd column Integer ID of cluster center<br />

3rd column Double distance value<br />

Centers 1st column Integer ID of cluster center<br />

Other columns Integer or double Coordinates of centers<br />

Note<br />

The statistics and centers output table were introduced in <strong>SAP</strong> <strong>HANA</strong> SPS 09. The version with only the<br />

outliers ouput table is also supported.<br />

Example<br />

Assume that:<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 />

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

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

Saved successfully!

Ooh no, something went wrong!