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.

<strong>PAL</strong>_SCALING_RESULT_TBL:<br />

<strong>PAL</strong>_SCALING_MODEL_TBL:<br />

3.6.11 Substitute Missing Values<br />

This function is used to replace the missing values with some statistical values. Currently, three methods are<br />

provided. The missing values of a specific attribute are replaced by one of the following values (of the<br />

attribute/column):<br />

●<br />

●<br />

Mode: the value that appears most in the given column.<br />

Mean: the arithmetic mean of not null values in the given column. The mean value is calculated by the<br />

following, where N is the number of not null values.<br />

●<br />

Median: the numerical value separating the higher half of the values from the lower half. The median value<br />

is calculated by:<br />

If N is an odd number:<br />

; otherwise<br />

Note<br />

The Mode can only be used for categorical attributes, whereas the Mean and Median can only be used for<br />

continuous attributes.<br />

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