How to use the PMML model in Java?

2019-07-29 16:35发布

问题:

i have build a python file based on randomforestclassifier and made a PMML model, now we need to use this PMML in Java to classify the data into 2 catagories..but this is new to me and i don't know how to handle the java part..

回答1:

Google: pmml java

Second Link is https://github.com/jpmml/jpmml-evaluator

There you have a library with examples. So try it and come back if you have problems.