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.
[SOLVED] Operator Branch
AreliBallina
Member Posts: 8 Contributor II
Hello everybody.
I have one simple question, Is it possible to have a branch into another branch?
I can run my process with one branch into other branch in the part "else", but when I try to put it in the side of "Then", says the attribute that goes inside the branch does not exist.
So, if I need have two Macros as filter inside of the branch, how I can do that??
I hope you can help me, thanks!!
I have one simple question, Is it possible to have a branch into another branch?
I can run my process with one branch into other branch in the part "else", but when I try to put it in the side of "Then", says the attribute that goes inside the branch does not exist.
So, if I need have two Macros as filter inside of the branch, how I can do that??
I hope you can help me, thanks!!
Tagged:
0
Answers
Scott
The process that I need is: filter by attribute called "Channel" for it I used the "Branch" because I would like choose all available canales with a Macro, and then I would like choose by single month (I mean to only Jan or Feb or May) or the same way all available months, for both (Canal & Month).
I have this possible options:
[Channel][/Month]
A 1,2,3,..,12
B 1,2,3,..,12
A&B 1,2,3,...,12 (single month)
A 1&2&3..&12 (all months)
B 1&2&3..&12 (all months)
A&B 1&2&3..&12 (all months)
But when I run it, there are some missing information
I hope you understood me...
Thanks!!
Does this help?
Scott
If you use the Branch operator and the condition type "attribute_value_filter", you will find that the last example in an example set is used for the comparison. The Branch operator does not do a For Loop that looks at each example one by one. A Loop operator and a suitable selection would be needed.
I don't understand the details of the requirement but you might find that using the Generate Attributes operator with a nested if function would be the way to go. Generate Attributes does implement an implied For Loop over all the examples and the values of attributes correspond to the values of single examples.
regards
Andrew
I'll try to use your advice.
Thank you and regards!!
Areli