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.
"Getting Results from Exampleset in Java"
Hi,
I created a Process which calculates the Crossdistance between 1 single document and an Excelfile. The Process works fine and is properly executed in my Javaprogramm. Now i would like to get the Results or the Values of the 5 closest Documents to my Document out of the Exampleset. I understood that by the following code I can get the Examplesetresults. But how do i get the Values.
Thank you very much for you Help !
I created a Process which calculates the Crossdistance between 1 single document and an Excelfile. The Process works fine and is properly executed in my Javaprogramm. Now i would like to get the Results or the Values of the 5 closest Documents to my Document out of the Exampleset. I understood that by the following code I can get the Examplesetresults. But how do i get the Values.
I attached a picture of which values i would like to get in my Program.
IOContainer ioResult = rm5.run();
ExampleSet resultSet = (ExampleSet) ioResult.getElementAt(1);
Thank you very much for you Help !
0
Answers
Just in case it will move along here is a copy of it:
thank you very much
I am sure there must be an easy way to do it since its an common idea to further use the results calculated with rapidminer.
Thank you very much for your help !
you can sort ExampleSet by operator "Sort" and that select only the first five by operator "Filter Example Range".
You can get values in java this way: Best,
Václav
THis was exactly what I needed thx !! ;D