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
Issue with setting multiple values in a single macro using "OR" with Set Macros in RapidMiner
I am currently facing an issue with setting multiple values in a single macro using "OR" with Set Macros in RapidMiner.
I have tried using the following syntax to add multiple values to a macro:
{value1|value2|value3}
also few other syntax with and without the curly braces also
I would greatly appreciate it if anyone could share any insights or solutions regarding this issue.
Mo_Abdolrahim @MarcoBarradas @MarcoBarradas
0
Answers
Can you share an example process of what you want to achieve?
At least to me it's not clear where the values are coming from.
Greetings,
Jonas
I'll take an example, let's say to specify a Macro for a column named "Fruits", the purpose of the Macro is to select the values "apple", "banana", and "orange" from this column using the "OR" operator. However, I am facing difficulty in defining multiple values for a single macro.
Regards,
M
So your Fruits column does look somewhat like this?
And your generated macro should contain "true" in this case?
Or do you want to convert all matching Fruits into a "|" concatenated string like "apple|orange|banana|apple"?
Greetings,
Jonas
macro name | values
fruits | apple | banana | orange (defining multiple values in this single macro)
then use this macros as %{fruits}
Alternatively you could also use condition class custom_filters on Filter Examples
operator