The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 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
"RapidMiner GUI as a Library from other Java program"
vijaypshah
Member Posts: 30 Maven
Hi,
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
e.printStackTrace();
}}
}.start();
***********************************************
How can I setup ExampleSet for the same and obtain back the result?
Thanks for your help.
Regards,
Vijay
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
e.printStackTrace();
}}
}.start();
***********************************************
How can I setup ExampleSet for the same and obtain back the result?
Thanks for your help.
Regards,
Vijay
Tagged:
0
Answers
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...
Greetings,
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.
Regards,
Vijay