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 γ is the weight to be given to the transposed categorical attributes to lessen the impact on the<br />

clustering from the 0/1 attributes.<br />

Prerequisites<br />

●<br />

●<br />

The input data contains an ID column and the other columns are of integer, varchar, nvarchar, or double<br />

data type.<br />

The input data does not contain null value. The algorithm will issue errors when encountering null values.<br />

KMEDIANS<br />

This is a clustering function using the K-medians algorithm.<br />

Procedure Generation<br />

CALL SYS.AFLLANG_WRAPPER_PROCEDURE_CREATE ('AFL<strong>PAL</strong>', 'KMEDIANS',<br />

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

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

Table 51:<br />

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

1 IN<br />

2 IN<br />

3 <br />

4 <br />

OUT<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 />

Table 52:<br />

Table Column Column Data Type Description Constraint<br />

Data 1st column Integer, bigint, varchar,<br />

or nvarchar<br />

ID<br />

This must be the first<br />

column.<br />

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