How to use PMML model in C ++?

I converted the R model to PMML using r2pmml.

Now I have to use this model in the C ++ calculation module for the machine, but I lost a bit (I have never used C ++ before). I can't use Java PMML evaluation mechanisms (as suggested in this answer ), so I think I need to find a "C ++ based PMML evaluation mechanism".

PMMLlib seems to be used to create PMML files with C ++, and not to read them. I found many XML parsers (pugixml, tinyxml2, XmlLite) for C ++, but I don’t know if they can be used to read PMML.

And if they can and I correctly understood how they work, they will create a Document Object Model that will contain my model, and I can 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.

+6
source share

Source: https://habr.com/ru/post/987985/


All Articles