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 9:<br />

Name Data Type Default Value Description Dependency<br />

THREAD_NUMBER Integer 1 Number of threads.<br />

MAX_ITERATION Integer 500 Maximum number of<br />

iterations.<br />

CON_ITERATION Integer 100 When the clusters<br />

keep a steady one for<br />

the specified times,<br />

the algorithm ends.<br />

DAMP Double 0.9 Controls the updating<br />

velocity.<br />

Value range: 0 <<br />

DAMP < 1<br />

PREFERENCE Double 0.5 Determines the preference.<br />

Value range: 0 ≤ PREF­<br />

ERENCE ≤ 1<br />

SEED_RATIO Double 1 Select a portion of<br />

(SEED_RATIO *<br />

data_number) the input<br />

data as seed,<br />

where data_number is<br />

the row_size of the input<br />

data.<br />

Only valid when the<br />

seed table is empty. If<br />

SEED_RATIO is 1, all<br />

the input data will be<br />

the seed.<br />

Value range: 0 <<br />

SEED_RATIO ≤ 1<br />

TIMES Integer 1 The sampling times. Only valid when the<br />

seed table is empty<br />

and SEED_RATIO is<br />

less than 1.<br />

MINKOW_P Integer 3 The power of the Minkowski<br />

method.<br />

Only valid when DIS­<br />

TANCE_METHOD is 3.<br />

Output Table<br />

Table 10:<br />

Table Column Column Data Type Description<br />

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

nvarchar<br />

ID<br />

2nd column Integer Cluster ID. The range is from<br />

0 to CLUSTER_NUMBER-1.<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 />

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