How to use a PMML model in C++?

Deadly 提交于 2019-12-05 23:14:22

问题


I have converted a R model into PMML, using r2pmml.

I am now supposed to use this model in the C++ calculation module of machine but I'm a bit lost (I have never used C++ before). I can't use Java PMML evaluation engines (as proposed in this answer) so I guess I have to find a "C++ based PMML evaluation engine".

PMMLlib seems to be used to create PMML files from C++, not to read them. I have found numerous XML parsers (pugixml, tinyxml2, XmlLite) for C++ but I don't know if any of these can be used to read PMML.

And if they can and I understood correctly the way the work, they will create a Document Object Model which will contain my model and I will be able to use this object with XPath ?
Otherwise, I would like to know how to parse a PMML file in C++ and how to use the resulting object.

来源:https://stackoverflow.com/questions/30477094/how-to-use-a-pmml-model-in-c

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!