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
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