Due to recent updates, all users are required to create an Altair One account to login to the RapidMiner community. Click the Register button to create your account using the same email that you have previously used to login to the RapidMiner community. This will ensure that any previously created content will be synced to your Altair One account. Once you login, you will be asked to provide a username that identifies you to other Community users. Email us at Community with questions.
[SOLVED] Java application
Hi,
I would like to ask you for help with some problem. I created a model in RapidMiner and now I need to create a java application that could use this model. So I need to write a code. But I don't know how should I start. I've noticed there is some possible to run a RapidMiner process in Eclipse but I haven't understood how it works yet. I begin to be desperate because days and days I searched the informations about how to do that but without any luck.
Could you please give me some advices or recommend me some documents for my work?
I would like to ask you for help with some problem. I created a model in RapidMiner and now I need to create a java application that could use this model. So I need to write a code. But I don't know how should I start. I've noticed there is some possible to run a RapidMiner process in Eclipse but I haven't understood how it works yet. I begin to be desperate because days and days I searched the informations about how to do that but without any luck.
Could you please give me some advices or recommend me some documents for my work?
0
Answers
I'm not sure what exactly your goal is, but using the forum search and searching for "java execute process" will for example turn up the following thread: click.
Or alternatively, by just looking over the very first page of this development forum, I found this thread: click
Regards,
Marco
For example: I got a process result in a result perspective, so I click on an example set (Retrieve) and also click on Data View. That's there, where my result is displayed as a string under a prediction label box. After running the process by method myProcess.run, what method should I use to get this result's string?
I'm sorry for my stupidity but there is something that I'm still missing.
Moreover, the basic statement
RapidMiner.setExecutionMode(ExecutionMode.COMMAND_LINE);
RapidMiner.init();
doesn't work. I get messages like '' syntax error on ".",...expected " or "identifier expected after this token" . I found somebody with similary problem, and tried his solutions (missing library maybe) but nothing happend. Do you have any idea?
Thank for response
well the result of a process is always an IOContainer. So to find out what you get after a specific process, you could do something like this: Depending on the type of the result you can then continue from there.
Regards,
Marco
http://rapid-i.com/wiki/index.php?title=Integrating_RapidMiner_into_your_application
despite of a few mistakes in the code ( the method getExampleReader is undefined for the type ExampleSet), using the method getPredictedLabel() I received this:
#16 prediction(label) (binominal/single_value).
The value of prediction label is not visible. Please how could I get this value?
Have a nice day