integration of rapidminer

satyendra
satyendra New Altair Community Member
edited November 5 in Community Q&A
hiiiii all,
          can u please tell me whether rapidminer 5.0 can be integrated in the java application or not......??? :D
                        with regards,
                                        satyendra
Tagged:

Answers

  • IngoRM
    IngoRM New Altair Community Member
    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

    RapidMiner.init();
    From there, you can still simply create a new process from XML or a file by invoking

    Process process = new Process(...);
    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.

    Cheers,
    Ingo
  • holger
    holger New Altair Community Member
    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, Holger