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.

Table 161:<br />

Name Data Type Default Value Description<br />

TREES_NUM Integer 500 Specifies the number of<br />

trees in the random forest.<br />

TRY_NUM Integer sqrt(p) (for classification) or<br />

p/3(for regression), where p<br />

is the number of independent<br />

variables<br />

Specifies the number of randomly<br />

selected splitting variables.<br />

CONTINUOUS_COL Integer Detected from input data Indicates which columns are<br />

continuous attributes. The<br />

default behavior is:<br />

●<br />

●<br />

String or integer: categorical<br />

Double: continuous<br />

Output Tables<br />

Table 162:<br />

Table Column Column Data Type Description<br />

Model 1st column Integer ID<br />

2nd column Integer Tree index<br />

3rd column Varchar or nvarchar Model content. The length<br />

should be 5000.<br />

Variable Importance 1st column Varchar or nvarchar Independent field name<br />

2nd column Double Variable importance<br />

Error Rate (for classification)<br />

or<br />

Mean Squared Error (for regression)<br />

Confusion Matrix (for classification<br />

only)<br />

1st column Integer Tree index<br />

2nd column Double Out-of-bag error rate or<br />

mean squared error for random<br />

forest up to indexed<br />

tree<br />

1st column Integer ID<br />

2nd column Varchar or nvarchar Confusion matrix content<br />

Example<br />

Assume that:<br />

●<br />

DM_<strong>PAL</strong> is a schema belonging to USER1; and<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 221

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

Saved successfully!

Ooh no, something went wrong!