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.

To execute multiple sub processes

arjunarjun Member Posts: 1 Learner II
edited November 2018 in Help

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
}

 

 

Answers

  • jczogalla_edujczogalla_edu Member Posts: 2 Contributor I

    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

  • Telcontar120Telcontar120 RapidMiner Certified Analyst, RapidMiner Certified Expert, Member Posts: 1,635 Unicorn

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

     

    Brian T.
    Lindon Ventures 
    Data Science Consulting from Certified RapidMiner Experts
Sign In or Register to comment.