Skip to content

invoking tensorflow.pb model and SVM.pmml/txt model by java

License

Notifications You must be signed in to change notification settings

Deepcong2019/java-tensorflow-svm

Repository files navigation

java-tensorflow-svm

invoking tensorflow.pb model and SVM.pmml/txt model by java

四种方案(目前实现前两种,基于jpmml调用svm.pmml时只能输出投票分布结果,基于libsvm训练的svm预测才能输出概率分布):

  • java调用tensorflow pb模型 + java 基于jpmml包 调用在python上训练的SVM.pmml模型
  • java调用tensorflow pb模型 + java调用Java训练的基于libsvm的模型 svm_model.txt
  • java调用tensorflow pmml模型 + Java 基于jpmml包 调用在python上训练的SVM.pmml模型
  • java调用tensorflow pmml模型 + java调用Java训练的基于libsvm的模型 svm_model.txt
  • 还有一个m2cgen,可以直接将机器学习模型转为java code,模型太复杂的话不建议用。

About

invoking tensorflow.pb model and SVM.pmml/txt model by java

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages