The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here
Generate Attribute
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:
Regards
Patrick
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
0
Answers
Use 0/0 instead of ?
Regards,
Andrew
you can use NaN, too, I think.
Greetings,
Sebastian