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
"[SOLVED] Filter attributes against whitelist"
Hello everybody,
I have an interesting problem which I could not solve on my own and hope someone can provide some help.
I have a table of data with several attributes and a whitelist of attribute names. Is there any possibility in RapidMiner to filter the attributes based on that list?
Thanks for your help in advance
I have an interesting problem which I could not solve on my own and hope someone can provide some help.
I have a table of data with several attributes and a whitelist of attribute names. Is there any possibility in RapidMiner to filter the attributes based on that list?
Thanks for your help in advance
Tagged:
0
Answers
you can do this using a whitelist in your repo/csv/excel/..
You basicly read it and use a Loop values on the whitelist. I've created an example process on random data. I created an CSV file with two entries. Keep care of the excecution order. The remember operators need to be excecuted before their associated recall operators.
Dortmund, Germany
Basically, is it possible to use the operator Select Attributes instead of Filter Examples in the loop with the following parameters?
- filter type: regular expression (?)
- regular expression: something like attribute_name=%{loop_value}
yes. this is basicly one way to go. If you have a pattern what to filter. E.g. everything which starts with "att" you can use a simple regex for filtering. There are several tutorials around
Otherwise you can simply use "single" in Generate Attribute and invert the selection. Attached is a process which should help you
Dortmund, Germany