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.

Table 67:<br />

Table Column Column Data Type Description<br />

Dictionary 1st column Integer Word ID<br />

2nd column Varchar or nvarchar Word text<br />

Topic Word Distribution 1st column Integer Topic ID<br />

2nd column Integer Word ID<br />

3rd column Double Probability of word given<br />

topic<br />

Document Topic Distribution 1st column Integer, varchar, or nvarchar<br />

(must be the same as the input<br />

data table)<br />

Document ID<br />

2nd column Integer Topic ID<br />

3rd column Double Probability of topic given<br />

document<br />

General Information<br />

1st column Varchar or nvarchar Name<br />

2nd column Integer Value of integer type<br />

3rd column Double Value of double type<br />

4th column Varchar or nvarchar Value of varchar or nvarchar<br />

type<br />

Topic Top Words<br />

1st column Integer Topic ID<br />

2nd column Varchar or nvarchar Word separated by space<br />

Word Topic Assignment (optional)<br />

1st column<br />

Integer, varchar, or nvarchar<br />

(must be the same as the in­<br />

Document ID<br />

put data table)<br />

2nd column Integer Word ID<br />

3rd column Integer Topic ID<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 />

<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 93

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

Saved successfully!

Ooh no, something went wrong!