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.

INSERT INTO #<strong>PAL</strong>_CONTROL_TBL VALUES ('DISTANCE_LEVEL', 2, NULL, NULL);<br />

INSERT INTO #<strong>PAL</strong>_CONTROL_TBL VALUES ('MAX_ITERATION', 100, NULL, NULL);<br />

INSERT INTO #<strong>PAL</strong>_CONTROL_TBL VALUES ('EXIT_THRESHOLD', NULL, 1.0E-6, NULL);<br />

INSERT INTO #<strong>PAL</strong>_CONTROL_TBL VALUES ('NORMALIZATION', 0, NULL, NULL);<br />

INSERT INTO #<strong>PAL</strong>_CONTROL_TBL VALUES ('CATEGORY_WEIGHTS', NULL, 0.5, NULL);<br />

DROP TABLE <strong>PAL</strong>_KMEDOIDS_ASSIGN_TBL;<br />

CREATE COLUMN TABLE <strong>PAL</strong>_KMEDOIDS_ASSIGN_TBL LIKE <strong>PAL</strong>_KMEDOIDS_ASSIGN_T;<br />

DROP TABLE <strong>PAL</strong>_KMEDOIDS_CENTERS_TBL;<br />

CREATE COLUMN TABLE <strong>PAL</strong>_KMEDOIDS_CENTERS_TBL LIKE <strong>PAL</strong>_KMEDOIDS_CENTERS_T;<br />

CALL DM_<strong>PAL</strong>.<strong>PAL</strong>_KMEDOIDS_PROC(<strong>PAL</strong>_KMEDOIDS_DATA_TBL, "#<strong>PAL</strong>_CONTROL_TBL",<br />

<strong>PAL</strong>_KMEDOIDS_ASSIGN_TBL, <strong>PAL</strong>_KMEDOIDS_CENTERS_TBL) WITH OVERVIEW;<br />

SELECT * FROM <strong>PAL</strong>_KMEDOIDS_ASSIGN_TBL;<br />

SELECT * FROM <strong>PAL</strong>_KMEDOIDS_CENTERS_TBL;<br />

Expected Result<br />

<strong>PAL</strong>_KMEDOIDS_ASSIGN_TBL:<br />

<strong>PAL</strong>_KMEDOIDS_CENTERS_TBL:<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 89

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

Saved successfully!

Ooh no, something went wrong!