RapidMiner

To execute multiple sub processes

Learner I arjun
Learner I

To execute multiple sub processes

Hi,

Need help in using switch case without a break so that it uses a right case for execution in Rapidminer 

switch (n)
​{
    case constant1:
        // code to be executed if n is equal to constant1;
        break;

    case constant2:
        // code to be executed if n is equal to constant2;
        break;
        .
        .
        .
    default:
        // code to be executed if n doesn't match any constant
}

 

 

2 REPLIES
Learner III jczogalla
Learner III

Re: To execute multiple sub processes

Hi arjun,

you can use the "Select Subprocess" operator to model each subprocess you need. In the parameter "select which" you can use a macro that you have to create before this operator to select the apropriate subprocess.

 

Cheers

Jan

Highlighted
RM Certified Expert
RM Certified Expert

Re: To execute multiple sub processes

If you have only two conditions then you can also use the related "Branch" subprocess operator.

 

Brian T., Lindon Ventures - www.lindonventures.com
Analytics Consulting by Certified RapidMiner Analysts