Subscribe to DSC Newsletter

STASTISTICA PMML file conversion and uploading into KNIME

Comment by Asad Ahmad 7 hours ago
Delete Comment Hi Alex, My PMML script is of 3.0 version. I tried to use your converter but it results in a text file. Please give me your email id I will send you my file.
Thanks and Regards
Alex Guazzelli Comment by Alex Guazzelli 22 hours ago
Delete Comment Hi Asad. STATISTICA generates PMML 2.0 and 3.0 for different modeling techniques. Also, from my experience, sometimes the PMML export may not be valid. Please, use the PMML Converter to get a clean file. The converter also corrects known issues.

http://www.zementis.com/pmml.htm

If you still have errors after conversion, work with the converter to get a clean file. It tells you what went wrong so that you can correct the file yourself. For info on how to use the converter, see below.

http://adapasupport.zementis.com/2008/03/how-do-i-use-adapa-pmml-32-converter.html

If continue to have problems, feel free to contact me directly. We have worked with STATISTICA PMML files before and were able to upload all files into our engine. Also, Michael and the KNIME folks may help you. The greatest thing about PMML is that at the end of the day, you will be able to move your model around.

Best,

Alex
Asad Ahmad Comment by Asad Ahmad 23 hours ago
Delete Comment Hi Alex and Michael, I was trying my PMML script on KNIME. It was giving me the error "Invalid PMML file". I don't know the reason. Because the STATISTICA extension for PMML script is .xml it might be a reason. Please help me out.
Michael Berthold Comment by Michael Berthold 1 day ago
Delete Comment Hi Asad, let us know if we can be of help. Sometimes PMML dialects of different tools offer interesting surprises when trying to read them...
Michael
Asad Ahmad Comment by Asad Ahmad 1 day ago
Delete Comment Thanks for your comment. i will try KNIME. I will put my question to RapidMiner forum.
Alex Guazzelli Comment by Alex Guazzelli 1 day ago
Delete Comment Hi Asad, that's a good question and I hope the RapidMiner folks will answer you directly. From what I know, they are currently implementing support for PMML export. I am not sure if PMML import is on their plan at this point. KNIME on the other hand already supports import and export of PMML. So, you may give it a try. Hope this helps. Best, Alex
Asad Ahmad Comment by Asad Ahmad 1 day ago
Delete Comment I want to deploy my PMML script generated by STATISTICA to RapidMiner.
Is it possible? Please help me. Thanks in advance.

Tags: Converter, KNIME, PMML, RapidMiner, STATISTICA

Views: 929

Replies to This Discussion

Hi Asad,

Glad you used the converter. The file you got back as a download is a PMML file. Comments are embedded in the converted file if there are any warning or errors. So, look for those. You should also now have a PMML 3.2 file.

Give it a try in KNIME. If you encounter any problems, please contact Michael Berthold and the KNIME folks.

As I mentioned before, feel free to contact me directly at [email protected]

Best,

Alex
Thanks Alex, for starting discussion. I am posting my file seeking your help.
Attachments:
Hi Asad,

Thanks! That helps. I uploaded the file in ADAPA (our scoring engine) without any problems. ADAPA has the converter embbeded into it.

Please, give it a try (after conversion) in KNIME.

I will be on a plane for most of the day today, but let me know how it goes. Also, feel free to contact me directly.

Thanks,

Alex
Hi Asad,

I forgot to upload the converted file. Find it below. Basically, the attribute "activationFunction" is required for the element "NeuralNetwork" and so the converter adds that piece to the PMML file. That is a problem we have seen before with STATISTICA PMML files for neural networks.

Good luck!

Alex
Attachments:
Hi Alex,

I have downloaded one PMML model example from zementis website. I want to upload this in to STATISTICA 9.1 for deployment but STATISTICA is unable to upload. Currently STATISTICA is using 3.0 version.
I want to know may I convert PMML 3.2 version in to PMML 3.0 version.


Thanks and Regards
Hi Asad,

Sorry, but from my understanding, STATISTICA allows you to export models in PMML, not import. If you are trying to upload PMML into a model building environment, two open source options are KNIME and Weka. Microstrategy can also consume PMML models (as well as other vendors). Please, check:

http://www.dmg.org/products.html

Best,

Alex
Hi Alex,

In STATISTICA Automated Neural Network It has an option for deployment of PMML Model. But I am observing it is taking PMML 3.0.
My question is may I down convert the PMML 3.2 to PMML 3.0. Please help me.
Sorry, the converter converts files from older versions of PMML to version 3.2. You may though change the header of your file to fake it as a 3.0 model and see if that works.

RSS

On Data Science Central

© 2019   AnalyticBridge.com is a subsidiary and dedicated channel of Data Science Central LLC   Powered by

Badges  |  Report an Issue  |  Privacy Policy  |  Terms of Service