Posted: 31 Jan 2018 22:09 EST Last activity: 13 Feb 2018 7:02 EST
How to import external Adaptive models(Python)
We have data analystics created those models in Python as the external model, we like to import those Adaptive models into our application as a part the campaign. How to import those external models into Pega Marketing?
"We have data analystics created those models in Python as the external model". I'm not understanding this exactly. But there are a couple of ways to incorporate models built outside of Pega.
Data level integration - i.e. you score the models then just use the results.
Translating the models into scorecards (or other constructs) in Pega. Not all models can easily be translated but for simple cases this may be feasible.
Importing through PMML. This is a model interchange format supported by Pega and by a large group of other vendors. Most ML tools support exporting to PMML. If this is possible, it's the preferred way.
Not sure what you mean by adaptive models you created in Python. Can you elaborate?
Adaptive models in Pega cannot be imported into. They are self-learning. What you could do is import the external model (one of the methods above) and have an Adaptive model shadow that. So initially you use the externally created model, but the Adaptive model will learn as it accumulates evidence. You should monitor the performance of the Adaptive model, and at some point you may decide to cut over.
Just to add another alternative - if your tools for whatever reason don't export to PMML, write a scripts yourself that generates PMML and use the standard PMML import. Ofcourse a bit of a hassle, but that's why we developed strong native modeling capabilities in Pega (adaptive and static).