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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Table 43:<br />

Table Column Column Data Type Description Constraint<br />

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

or nvarchar<br />

ID<br />

This must be the first<br />

column.<br />

2nd column Integer Clustered item assigned<br />

to class number<br />

3rd column Double The distance between<br />

the given point and the<br />

cluster center<br />

4th column Double Estimated value (slight<br />

silhouette)<br />

Center Points 1st column Integer Cluster center ID This must be the first<br />

column.<br />

Other columns<br />

Double, varchar, or<br />

nvarchar<br />

Cluster center coordinates<br />

Center Statistics 1st column Integer Cluster center ID This must be the first<br />

column.<br />

2nd column Double Statistic value (slight<br />

silhouette)<br />

Statistics 1st column Varchar or nvarchar Statistic name This must be the first<br />

column.<br />

2nd column Double Statistic value<br />

Cluster Model<br />

1st column Integer Cluster model ID This must be the first<br />

column.<br />

2nd column<br />

CLOB, varchar, or<br />

Cluster model saved<br />

The table must be a<br />

nvarchar<br />

as JSON string<br />

column table. The minimum<br />

length of each<br />

unit (row) is 5000.<br />

Example<br />

Assume that:<br />

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

USER1 has been assigned the AFL__SYS_AFL_AFL<strong>PAL</strong>_EXECUTE or<br />

AFL__SYS_AFL_AFL<strong>PAL</strong>_EXECUTE_WITH_GRANT_OPTION role.<br />

SET SCHEMA DM_<strong>PAL</strong> ;<br />

DROP TYPE <strong>PAL</strong>_KMEANS_DATA_T;<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 69

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

Saved successfully!

Ooh no, something went wrong!