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.
IF ... THEN ... ELSE
klemens1959
Member Posts: 9 Contributor II
Which operator support if then else? I would like to assign a new or replace the value of an attribute based on the value of another attribute:
Example:
If ACTIVITY != "Tumble"
DIFF= 0
else
DIFF = BARODIFF
ACTIVITY, DIFF and BARODIFF are attributes of my data set.
Thanks!
Example:
If ACTIVITY != "Tumble"
DIFF= 0
else
DIFF = BARODIFF
ACTIVITY, DIFF and BARODIFF are attributes of my data set.
Thanks!
1
Answers
if(ACTIVITY!="Tumble",0,"BARODIFF")
or something like that.
Scott