[Solved] Set an attribute as Missing

Unknown
edited November 5 in Community Q&A
Hi everybody,

I have an attribute which I want to set it as Missing , is there any operator in rapidminer to do this ?

Thanks
Tagged:

Answers

  • MariusHelf
    MariusHelf New Altair Community Member
    Hi,

    if you have certain values that should be defined as missing, you can use the Declare Missing Values operator. If you have more complex rules, you can use Generate Attributes, and generate a missing value if the rule matches. The expression to create a missing value with that operator is 0/0. So you complete expression could be:

    if(a1 > 25, 0/0, a1)

    That would define all values >25 as missing, and keep the original value otherwise.

    Best regards,
    Marius