The Altair Community is migrating to a new platform to provide a better experience for you. The RapidMiner Community will merge with the Altair Community at the same time. In preparation for the migration, both communities are on read-only mode from July 15th - July 24th, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here.
Options

integration of rapidminer

satyendrasatyendra Member Posts: 13 Contributor II
edited November 2018 in Help
hiiiii all,
          can u please tell me whether rapidminer 5.0 can be integrated in the java application or not......??? :D
                        with regards,
                                        satyendra

Answers

  • Options
    IngoRMIngoRM Administrator, Moderator, Employee, RapidMiner Certified Analyst, RapidMiner Certified Expert, Community Manager, RMResearcher, Member, University Professor Posts: 1,751 RM Founder
    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
  • Options
    holgerholger Member Posts: 42 Contributor II
    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
Sign In or Register to comment.