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.

Name Data Type Default Value Description Dependency<br />

IS_OUTPUT_RULES Integer 0 If this parameter is set<br />

to 1, the algorithm will<br />

extract all decision<br />

rules from the tree<br />

model and save them<br />

to the result table<br />

which is used to save<br />

the PMML model.<br />

PMML_EXPORT Integer 0 ● 0: Does not export<br />

PMML tree<br />

model.<br />

●<br />

●<br />

1: Exports PMML<br />

tree model in single<br />

row.<br />

2: Exports PMML<br />

tree model in several<br />

rows, and the<br />

minimum length<br />

of each row is<br />

5000 characters.<br />

Only valid when<br />

IS_OUTPUT_RULES is<br />

0.<br />

Output Tables<br />

Table 101:<br />

Table Column Column Data Type Description Constraint<br />

Tree model of JSON<br />

format<br />

Tree model of PMML<br />

format<br />

1st column Integer ID<br />

2nd column<br />

CLOB, varchar, or<br />

nvarchar<br />

1st column Integer ID<br />

2nd column<br />

CLOB, varchar, or<br />

nvarchar<br />

Tree model saved as a<br />

JSON string.<br />

Tree model in PMML<br />

format<br />

The table must be a<br />

column table.<br />

The minimum length<br />

of every unit (row) is<br />

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>_C45_DATA_T;<br />

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