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.

Where A(i) represents the distance between i and the center of the cluster it belongs to, and B(i) is the<br />

minimum distance between i and other cluster centers. Finally the below formula is derived:<br />

It is clear that ‒1≤S≤1. ‒1 indicates poor clustering result, and 1 stands for good result.<br />

For attributes of category type, you can pre-process the input data using the method described in K-means.<br />

Prerequisites<br />

The input data does not contain null value.<br />

SLIGHTSILHOUETTE<br />

Procedure Generation<br />

CALL SYS.AFLLANG_WRAPPER_PROCEDURE_CREATE (‘AFL<strong>PAL</strong>’, ‘SLIGHTSILHOUETTE’,<br />

‘’, '', );<br />

The signature table should contain the following records:<br />

Table 77:<br />

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

1 IN<br />

2 IN<br />

3 <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 Table<br />

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