integration of rapidminer
satyendra
New Altair Community Member
hiiiii all,
can u please tell me whether rapidminer 5.0 can be integrated in the java application or not......???
with regards,
satyendra
can u please tell me whether rapidminer 5.0 can be integrated in the java application or not......???
with regards,
satyendra
Tagged:
0
Answers
-
Hi,
sure, RapidMiner 5.0 can also be integrated in Java applications. In open source applications this is directly possible under the AGPL 3 license. For closed-source applications or web services, this is also possible for customers of the RapidMiner Enterprise Developer Edition. Please contact us for details.
In principle, the integration of RapidMiner 5 in Java applications works pretty similar to the integration of previous versions, for example version 4.6 or before. The first thing you have to do is to initialize the engine by a call of an init() method like
From there, you can still simply create a new process from XML or a file by invoking
RapidMiner.init();
And finally you can execute the process and derive the results. Although several things changed between RM 4.6 and RM 5.0 here, the basics are pretty similar and the documentation (tutorial) of RM 4.6 should help you with more details.
Process process = new Process(...);
Cheers,
Ingo0 -
Hi Ingo,
because there's a Process-class in java.lang which becomes automatically imported in any case, rm-process-instances need to be created with:com.rapidminer.Process process = new com.rapidminer.Process(); }
Your above mentioned approach does not work in most cases.
It's like creating a class named String,.. Something you can do, but probably should not...
Best, Holger0