How to use a PMML model in C++?

2020-07-09 07:01发布

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.

标签: c++ xml r pmml
0条回答
登录 后发表回答