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] Condtion Based Process Execution
Hi,
I'm not sure if this is possible with RapidMiner but I'll ask anyway - RapidMiner continues to surprise me with it's limitless capabilities.
I want to execute an existing process using the "Execute Process" operator but only under 1 condition.
For example, If att1 contains X then execute process.
Thanks again!
Cheers,
I'm not sure if this is possible with RapidMiner but I'll ask anyway - RapidMiner continues to surprise me with it's limitless capabilities.
I want to execute an existing process using the "Execute Process" operator but only under 1 condition.
For example, If att1 contains X then execute process.
Thanks again!
Cheers,
0
Answers
RapidMiner has a "Branch"-operator which you can use for this purpose. Inside this operator you will see two subprocesses "then" and "else". Depending on the condition either the "then"- or the "else"-subprocess will be executed. So in the "then"-case you can execute your process.
Regarding your condition you have to hack a little bit, since the "attribute_value_filter" tests all values for a value, so you can not check if it contains a value directly. But with the help of the "Filter Example" operator you can filter out all example with this value and use the "min_examples" condition. See the example process and replace the log-operators inside the branch operator accordingly.
Best
Marcin
Thanks for that. I also figured out another way to do it using the "Select Subprocess" Operator. I used some macros to generate the "1" or "2" value required to execute the different processes. I think your solution is probably more robust though.
Cheers,
Rowan