Predictive Models using the SAP HANA Predictive Analysis Library (PAL)

Predictive algorithms can be used in addition to scripted rules in the context of fraud detection.

The SAP HANA database already provides predictive algorithms that are included in the SAP HANA Predictive Analysis Library (PAL).

Decision Tree

The algorithm used in our use case is the C4.5 Decision Tree algorithm.

In general, a decision tree is a set of logically connected decisions with each decision resulting in a true or false statement. This statement will either lead to a new decision requiring a true or false outcome or the decision sequence is concluded with a result statement or an error condition.

The algorithm is based on a trained model which is the result of a training procedure. For the training of a model historical data including a classification are required.

In our use case historical data are insurance claims that are classified as being suspicious or not suspicious. It is now possible to train and store a model using a PAL training procedure (pal::createDT). This model can then be applied for a worklist of new claims to create alerts by invoking a PAL scoring procedure (pal::predictWithDT).

This process may be realized as a detection method after creating the necessary selection procedure and execution procedure. The selection procedure enriches the worklist by the predictive attributes used to build the model tree. The execution procedure wraps the PAL scoring procedure.

More Information

For more information, see the SAP HANA Predictive Analysis Library (PAL) Reference on SAP Help Portal at https://help.sap.com/hana_platform under Reference Information.