Import An Svm Model In Pmml To Java Or Python?
Solution 1:
You can import the model you trained in any language. There is an example for Python Reinitializing learned linear models with scikit-learn
Solution 2:
You could use the Zementis ADAPA scoring engine to deploy your model and them access it through web-services. From my experience, ADAPA is also available as a Java library and so you can code against its Java API. Hope this helps.
Solution 3:
A library called "Pattern" translates PMML models into Cascading apps in Java. Then you can run model scoring on Hadoop or within other Java apps. https://github.com/Cascading/pattern
There's a SVM impl for Pattern -- being rewritten for the latest update to the library. Check on the developer email list: https://groups.google.com/forum/?fromgroups#!forum/pattern-user
Solution 4:
You can use Weka both as an Java API or as standalone tool, which works well for PPML with some classifiers. Check these classes in weka API: weka.classifiers.pmml.consumer.PMMLClassifier and weka.classifiers.pmml.consumer.SupportVectorMachineModel.
Solution 5:
I believe the JPMML (Java Evaluator PMML API) will do what you want.
Post a Comment for "Import An Svm Model In Pmml To Java Or Python?"