Skip to Content
Author's profile photo Ian Henry

Adding Custom PAL Components to Predictive Analytics 2.0

With an ever evolving and growing HANA Platform the Predictive Analytics (PA), Expert Analytics team have a tough job keeping up with all the new algorithms being added to the Predictive Algorithm Library (PAL). That’s not to say that new algorithms won’t be added in eventually. The current focus has been on including the Automated Predictive Library (APL). From PA 2.0 onwards these are available in both HANA and non-HANA modes.

To provide a more complete offering the PA development team have now added the ability to add your own custom HANA components inside Predictive Analytics.  What this really means if there’s a HANA PAL function that you want to take advantage of that Expert Analytics does not have an out of the box node for we can quickly and easily add one without being a developer.

So for example I have been doing some basket analysis with Apriori and now wish to investigate the other association analysis methods in the HANA PAL I can find the appropriate algorithm, FP-Growth  and include it within PA 2.0.


Let’s open up Expert Analytics as its now called as part of Predictive Analytics 2.0

Expert Analytics.png

Here I’ve connected to a HANA SP9 source

Canvas.png

You will now see the additional components you can add, select PAL Component

Add PAL Componet.png

Enter the Component Name that you want to use

Component Name v2.png

Here you can see all the available PAL Functions that have been surfaced with PA 2.0

Create Componet.png

I chose FPGROWTH as I’m looking to do some more Basket Analysis.  Expert Analytics then knows the parameters that the PAL function requires.

You can then adjust the names and default values as required.

FP-Growth.png

When you press Finish you will see the new Component available in the Algorithms section, with an “N” for new.

FP-Growth-New.png

You can now use that on the canvas just like all the other components.

Add FP-Growth.png

You will now see the parameters exactly as you created the component in the previous steps.

Component Properties v2.png

That’s it you can now run the workflow, and you can re-use the custom component whenever you need it.

Assigned Tags

      Be the first to leave a comment
      You must be Logged on to comment or reply to a post.