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.

Prerequisites<br />

●<br />

●<br />

The target column of the training data must not have null values, and other columns should have at least<br />

one valid value (not null).<br />

The table used to store the tree model is a column table.<br />

Note<br />

CHAID treats null values as special values.<br />

CREATEDTWITHCHAID<br />

This function creates a decision tree from the input training data. It can be used for classification.<br />

Procedure Generation<br />

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

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

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

Table 106:<br />

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

1 IN<br />

2 IN<br />

3 <br />

4 <br />

OUT<br />

OUT<br />

Procedure Calling<br />

CALL .(, ,<br />

, ) with overview;<br />

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

The input, parameter, and output tables must be of the types specified in the signature table.<br />

Signature<br />

Input Table<br />

Table 107:<br />

Table Column Column Data Type Description Constraint<br />

Training Data Columns Varchar, nvarchar, integer,<br />

or double<br />

Independent fields<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 151

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

Saved successfully!

Ooh no, something went wrong!