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.

5 Best Practices<br />

●<br />

●<br />

●<br />

●<br />

●<br />

●<br />

Create an SQL view for the input table if the table structure does not meet what is specified in this guide.<br />

Avoid null values in the input data. You can replace the null values with the default values via an SQL<br />

statement (SQL view or SQL update) because <strong>PAL</strong> functions cannot infer the default values.<br />

Create the parameter table as a local temporary table to avoid table name conflicts.<br />

If you do not use PMML export, you do not need to create a PMML output table to store the result. Just set<br />

the PMML_EXPORT parameter to 0 and pass ? or null to the function.<br />

When using the KMEANS function, different INIT_TYPE and NORMALIZATION settings may produce<br />

different results. You may need to try a few combinations of these two parameters to get the best result.<br />

When using the APRIORIRULE function, in some circumstances the rules set can be huge. To avoid an<br />

extra long runtime, you can set the MAXITEMLENGTH parameter to a smaller number, such as 2 or 3.<br />

576 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 />

Best Practices

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

Saved successfully!

Ooh no, something went wrong!