[Solved] Set an attribute as Missing

aryan_hosseinzaaryan_hosseinza Member Posts: 74 Contributor II
edited November 2018 in Help
Hi everybody,

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



  • Options
    MariusHelfMariusHelf RapidMiner Certified Expert, Member Posts: 1,869 Unicorn

    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,
Sign In or Register to comment.