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.

3.1 Clustering Algorithms<br />

This section describes the clustering algorithms that are provided by the <strong>Predictive</strong> <strong>Analysis</strong> <strong>Library</strong>.<br />

3.1.1 Affinity Propagation<br />

Affinity Propagation (AP) is a relatively new clustering algorithm that has been introduced by Brendan J. Frey<br />

and Delbert Dueck. The authors described affinity propagation as follows:<br />

“An algorithm that identifies exemplars among data points and forms clusters of data points around these<br />

exemplars. It operates by simultaneously considering all data point as potential exemplars and exchanging<br />

messages between data points until a good set of exemplars and clusters emerges.”<br />

One of the most significant advantages of AP-cluster is that the number of clusters is not necessarily<br />

predetermined.<br />

Prerequisites<br />

●<br />

●<br />

No missing or null data in the inputs.<br />

The data is numeric, not categorical.<br />

AP<br />

Procedure Generation<br />

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

'', );<br />

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

Table 6:<br />

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

1 IN<br />

2 <br />

IN<br />

3 IN<br />

4 OUT<br />

Procedure Calling<br />

CALL .(, ,<br />

, ) with overview;<br />

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