[英]Running Rapidminer in Java
I'm new with rapidminer and played around a little with the Rapidminer Studio. 我是Rapidminer的新手,并且在Rapidminer Studio中玩了一些。 However, now i'm trying to integrate my classifiers into a Java programm. 但是,现在我正在尝试将分类器集成到Java程序中。 I want get soma data from a database, modify it to fit my purposes and classify it with the rapidminer process. 我想从数据库中获取体细胞数据,对其进行修改以适合我的目的,并使用Rapidminer流程对其进行分类。
So here is the question: 所以这是一个问题:
How do I classify data with rapidminer-models directly from my java program and where to get the needed libraries?? 如何直接从我的Java程序中使用Rapidminer模型对数据进行分类以及从何处获取所需的库?
Thank you for any help 感谢您的任何帮助
I somehow googled the wrong thing for two days. 我以某种方式用谷歌搜索了两天。
Found a solution now. 现在找到解决方案。 You can train your Model in Rapidminer, then use the following extention to export it as a .pmml. 您可以在Rapidminer中训练模型,然后使用以下扩展名将其导出为.pmml。
https://marketplace.rapidminer.com/UpdateServer/faces/product_details.xhtml?productId=rmx_pmml https://marketplace.rapidminer.com/UpdateServer/faces/product_details.xhtml?productId=rmx_pmml
just add the extention via marketplace and use the "Write PMML"-Operator to create a pmml file of your model. 只需通过市场添加范围,然后使用“写PMML”操作符即可创建模型的pmml文件。
The pmml file can be included into your java programm with the following library: 可以使用以下库将pmml文件包含在Java程序中:
https://github.com/jpmml/jpmml-evaluator https://github.com/jpmml/jpmml-evaluator
The link above explains pretty well how to use the library. 上面的链接很好地说明了如何使用该库。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.