"RapidMiner GUI as a Library from other Java program"

vijaypshahvijaypshah Member Posts: 30 Maven
edited May 2019 in Help

I was reading chapter 7 to integrate RM into other application. I want to use the RM-GUI as a library from other Java program. I just want to speed up my research, by integration both software so that I don't have to write data/results to disk. Could you please let me know about the documentation or example for using RM GUI as a library?
I could start RM_GUI using following code in my application

    new Thread(){
                   public void run() {
                    try {
                    String path="C:\\Program Files (x86)\\Rapid-I\\RapidMiner";
    System.setProperty("rapidminer.home",path );
   com.rapidminer.gui.RapidMinerGUI.main(new String[]{"Y:\\research\\rm_workspace\\clustering_xml\\em_no_reduction.xml"});
} catch (Exception e) {
// TODO Auto-generated catch block
How can I setup ExampleSet for the same and obtain back the result?

Thanks for your help.


  • Options
    landland RapidMiner Certified Analyst, RapidMiner Certified Expert, Member Posts: 2,531 Unicorn
    Hi Vijay,
    I'm not quite sure if it is possible this way. As far as I know you cannot give a process in the gui an initial input. A solution would be to put an Operator in the process, returning the example set. This could be done using a plugin.

    But currently I don't know how to get back the results from gui mode...

  • Options
    vijaypshahvijaypshah Member Posts: 30 Maven
    Hi Sebastian,

    Thanks, Oops, I had copied wrong code while experimentation. I corrected my previous post. I meant to say start GUI by passing the XML file not the process.


Sign In or Register to comment.