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.

Table 357:<br />

Name Data Type Description<br />

Integer Defines the method for substituting<br />

missing values.<br />

●<br />

●<br />

●<br />

●<br />

●<br />

●<br />

100: Mode<br />

200: Mean<br />

201: Median<br />

101: Use specific string value to replace<br />

missing values<br />

202: Use specific integer value to<br />

replace missing values<br />

203: Use specific double value to<br />

replace missing values<br />

For methods 101, 202, and 203, use the<br />

below syntax to specify a new value to<br />

replace missing values:<br />

INSERT INTO<br />

#<strong>PAL</strong>_CONTROL_TBL<br />

VALUES(‘V0’, ,<br />

NULL, ‘’);<br />

Where V0 is the column name,<br />

is 101, 202, or 203, and<br />

is the value that you<br />

want to use to replace missing values.<br />

Optional Parameter<br />

The following parameter is optional. If it is not specified, <strong>PAL</strong> will use its default value.<br />

Table 358:<br />

Name Data Type Default Value Description<br />

THREAD_NUMBER Integer 1 Specifies the number of<br />

threads.<br />

Output Tables<br />

Table 359:<br />

Table Column Column Data Type Description<br />

Result Columns Varchar, nvarchar, integer,<br />

or double<br />

Each column type should<br />

match the type of the original<br />

input data.<br />

Statistical 1st column Varchar or nvarchar Column name<br />

2nd column Varchar or nvarchar Substitute value<br />

3rd column Integer Hit times<br />

Example<br />

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