Question

PMML with Custom function

I’m analyzing Pega’s PMML capabilities.

As part of it, I’m facing a challenge in importing PMML with custom function.

As per Pega’s help, Configuration tab is required to configure the custom functions.

This tab is available only when the uploaded PMML model contains custom functions that are not defined.

But, when I uploaded the attached PMML file with custom function the Configurations tab didn’t show up.

Please help me to resolve this asap.

Product Version: Pega 7.3.1

O/s: Linux

App Server: IBM Websphere

Correct Answer
June 24, 2019 - 6:29am

Hi,

   The PMML that is attached already has the function defined in it.(In the DefineFunction tag of the transformation dictionary). If you remove the contents of the transformation dictionary element, you should see the configurations tab in the rule form.

The PMML standard has a way of defining a function in XML format using "DefineFunction" tag, which is the case in your PMML file.

Comments

Keep up to date on this post and subscribe to comments

Pega
June 24, 2019 - 6:15am

Can you please upload the pmml file?

Cheers,

Shridhar

Pega
June 24, 2019 - 6:23am
Response to SHRIDHAR

Sorry, my bad - found the file

Pega
June 24, 2019 - 6:29am

Hi,

   The PMML that is attached already has the function defined in it.(In the DefineFunction tag of the transformation dictionary). If you remove the contents of the transformation dictionary element, you should see the configurations tab in the rule form.

The PMML standard has a way of defining a function in XML format using "DefineFunction" tag, which is the case in your PMML file.

July 1, 2019 - 4:00am
Response to RAOS4

Thanks Rao. it worked :) .