πŸŽ‰ πŸŽ‰ RAPIDMINER 9.10 IS OUT!!! πŸŽ‰πŸŽ‰

Download the latest version helping analytics teams accelerate time-to-value for streaming and IIOT use cases.

CLICK HERE TO DOWNLOAD

Generate Attribute

Patrick2Patrick2 Member Posts: 2 Contributor I
edited November 2018 in Help
Hi,

I'm trying to add parameters to my dataset using the Generate Attribute operator. In some cases I want to include a missing value for my new attribute. I have tried the following expression:
if(class=="y",FALSE,if(class=="x",?,TRUE))
Unfortunately this does not work. I hope someone can help me

Regards

Patrick

Answers

  • awchisholmawchisholm RapidMiner Certified Expert, Member Posts: 458   Unicorn
    Hello

    Use 0/0 instead of ?

    Regards,

    Andrew
  • Patrick2Patrick2 Member Posts: 2 Contributor I
    awchisholm wrote:

    Use 0/0 instead of ?
    Thank youΒ  :)
  • landland RapidMiner Certified Analyst, RapidMiner Certified Expert, Member Posts: 2,531   Unicorn
    Hi,
    you can use NaN, too, I think.

    Greetings,
    Β  Sebastian
Sign In or Register to comment.