Hi,
Additional information:
· JPMML version: 1.5.14
· We create the files by Python sklearn2pmml 0.64.0
·
PMML version 4.4
·
Example to MapValues:
·
Our conversion PMML code
example:
Hi Villu,
As you said, we are talking about loading a Java class model object from a PMML file
We tried what you suggested, we switched to 1.5.X-style builder API (just implemented the code sample you gave)
And also regard the MapValues element - we switched to MultiLookupTransformer, a screen shot is attached below
We also tried different dataTypes (double, string, integer) for the MapValues.
The reason we didn’t originally used the MultiLookupTransformer is that we want the lookup only for a late post
processing step, and not the entire pipeline. (This is not the main question
here, but is it possible to use a MultiLookupTransformer (or any transformer) only for post processing?).
At this moment we only see a minor improvement with conversion
time, but it’s still above 2 minutes.
One thing we are changing is the Header, but we have no problem with conversion
time when we don’t use the MapValues
element
Thank you in advance,
Amichay