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.10 LDA Estimation and Inference<br />

Latent Dirichlet allocation (LDA) is a generative model in which each item of a collection is modeled as a<br />

distribution over an underlying set of groups (topics). In the context of text modeling, it posits that each<br />

document in the text corpora is composed by several topics with different probabilities and each word belongs<br />

to certain topics with different probabilities. In <strong>PAL</strong>, the parameter inference is done via Gibbs sampling.<br />

LDAESTIMATE<br />

This function performs LDA estimation.<br />

Procedure Generation<br />

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

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

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

Table 63:<br />

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

1 IN<br />

2 IN<br />

3 <br />

OUT<br />

4 <br />

OUT<br />

5 <br />

OUT<br />

6 <br />

OUT<br />

7 <br />

OUT<br />

8 <br />

OUT (optional)<br />

Procedure Calling<br />

CALL .(, , ) with overview;<br />

The procedure name is the same as specified in the procedure generation.<br />

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