RapidMiner

RapidMiner

Check existence of attributes

Contributor

Check existence of attributes

Hi guys,

I need to concatenate attributes in case the exists. Unfortunately if I use the the expression if(attribute_1,1,0) the softs alerts me asking me for a lost attribute.
How can I create a Working regular expression?

Thanks in advance
1 REPLY
Contributor II

Re: Check existence of attributes

Instead of a regular expression, how about using a Branch operator.  For Condition Type choose attribute_available.  For Condition Value enter your attribute name.  Then put your concat operator inside the Then portion of the Branch operator.