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
How to use ExampleFilter or ExampleRangeFilter
Hi there,
I have an ExampleSet eset now and also I have selected some examples out of it such as e1, e2, e3, e4, e5.
How can I separate eset into two parts, one ExampleSet just includes e1, e2, e3, e4, e5, and the other has the left in it?
Should I use ExampleFilter? I have looked at it. But I don't know how to use it.
I use RapidMiner in java not with the GUI interface.
Another question is if I have a double[] which has the same structure as e1, e2 etc., how can I add the double[] to eset.
Thanks a lot.
I have an ExampleSet eset now and also I have selected some examples out of it such as e1, e2, e3, e4, e5.
How can I separate eset into two parts, one ExampleSet just includes e1, e2, e3, e4, e5, and the other has the left in it?
Should I use ExampleFilter? I have looked at it. But I don't know how to use it.
I use RapidMiner in java not with the GUI interface.
Another question is if I have a double[] which has the same structure as e1, e2 etc., how can I add the double[] to eset.
Thanks a lot.
0
Answers
For this case, you need to double the ExampleSet and apply ExampleFilter twice.
Example: I suggest this: Create an ExampleSet representing your double[] and then apply the ExampleSetMerge-Operator.
In case you think this is complicated: The inner structure of ExampleSet named ExampleTable, which stores the data (note that ExampleSet is just a view on ExampleTable), is not meant to be changed easily (e.g. by adding data). This seems to be a disadvantage, but in fact this is one the reasons why RapidMiner is fast.
hope this was helpful,
Steffen
Thank you very much. Especially the idea about ExampleSet and ExampleTable.
Regards
Amy