Apply PMML predictor model in python

knime, machine-learning, pmml, python

Solution

Finally I have wrote my own code. Be free to contribute or fork it:

https://github.com/ctrl-alt-d/lightpmmlpredictor

Problem

Knime has generated for me a PMML model. At this time I want to apply this model to a python process. What is the right way to do this? More in depth: I develop a django student attendance system. The application is already so mature that I have time to implement the 'I'm feeling lucky' button to automatically fill an attendance form. Here is where PMML comes in. Knime has generated a PMML model that predicts student attendance. Also, thanks to django for being so productive that I time for this great work ;)

Original source