Home
Discussions
Community Q&A
"reading XML file RapidMiner"
wisdom
hello everyone,
i would like to read an XML file in Rapidminer , This file contains a PMML code
how can i process pleaaase
:-[
thanks for help
Find more posts tagged with
AI Studio
XML
Accepted answers
All comments
Andrew2
Hello
In version 5 there is the Read XML operator (it is available in version 6 but requires an additional licence).
You can then use the Generate Extract operator and some XPath to extract the things you want.
In fact there is an example here
http://rapid-i.com/rapidforum/index.php/topic,3599.0.html
.
regards
Andrew
wisdom
thank you
, i will try it
MariusHelf
However it is not possible to directly create a RapidMiner model from a PMML file. If at all, it requires a lot of manual work.
Best regards,
Marius
JEdward
That sounds like a challenge Maruis. ^^
I'm sure it's technically possible to parse an PMML model in and convert it into the RapidMiner XML model format, save this and then read it in using the ReadModel operator. The two formats do have some similarities (at least for decision tree anyway) Although an 80 line PMML becomes nearly 400 lines of RapidMiner model XML. I imagine it could be done via various XML templates for a few select models which then are populated once the PMML has been read into RM. Not exactly sure the benefit of doing this except in that RapidMiner (even the server version) doesn't support PMML imports as a scoring engine, yet.
Back to the original poster though, Andrew Chisholm put together a blog post advising on how to read PMML models with RapidMiner, perhaps this could be a starting point?
http://rapidminernotes.blogspot.com/2011/05/how-to-read-pmml-file-to-determine.html
mskinner
link broken
Quick Links
All Categories
Recent Discussions
Activity
Unanswered
日本語 (Japanese)
한국어(Korean)