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.

INSERT INTO <strong>PAL</strong>_PARA_TBL VALUES('TRY_NUM_MAX', 4, null, null);<br />

INSERT INTO <strong>PAL</strong>_PARA_TBL VALUES('SEED', 1, null, null);<br />

INSERT INTO <strong>PAL</strong>_PARA_TBL VALUES('CONTINUOUS_COL', 2, null, null);<br />

INSERT INTO <strong>PAL</strong>_PARA_TBL VALUES('CONTINUOUS_COL', 3, null, null);<br />

INSERT INTO <strong>PAL</strong>_PARA_TBL VALUES('PARAM_SELECTION', 1, null, null);<br />

CALL DM_<strong>PAL</strong>.<strong>PAL</strong>_RFPS_PROC(<strong>PAL</strong>_FUNC_TBL, <strong>PAL</strong>_DATA_TBL, <strong>PAL</strong>_PARA_TBL,<br />

<strong>PAL</strong>_EVAL_TBL, <strong>PAL</strong>_PARASEL_TBL, <strong>PAL</strong>_MODEL_TBL, <strong>PAL</strong>_VARIMPL_TBL, <strong>PAL</strong>_ERROR_TBL,<br />

<strong>PAL</strong>_CONFUSION_TBL) WITH OVERVIEW;<br />

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

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

Expected Results<br />

<strong>PAL</strong>_EVAL_TBL:<br />

<strong>PAL</strong>_PARASEL_TBL:<br />

3.2.12 Predict with Tree Model<br />

This algorithm uses tree model to perform scoring.<br />

Prerequisites<br />

●<br />

The input data must contain an ID column.<br />

PREDICTWITHDT<br />

Procedure Generation<br />

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

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

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

Table 155:<br />

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

1 <br />

IN<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 215

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

Saved successfully!

Ooh no, something went wrong!