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 Attribut with mathematical different functions within

noritanorita Member Posts: 29 Learner III
Hi

I want to generate a new attribute like this:

if([Natrium.cat]=="3"||[BDsys]>="140"||[hp.rep]=="1"||[cevd.rep]=="1",1,0)

The errror signal was:
'>=' must have arguments of the same type.

Is there an easy way to fix this?


Best Answer

  • MartinLiebigMartinLiebig Administrator, Moderator, Employee-RapidMiner, RapidMiner Certified Analyst, RapidMiner Certified Expert, University Professor Posts: 3,533 RM Data Scientist
    Solution Accepted
    Hi,
    yes, remove the " around your numbers. At least one of your columns you check for is a numerical and not a nominal.

    Best,
    Martin
    - Sr. Director Data Solutions, Altair RapidMiner -
    Dortmund, Germany
Sign In or Register to comment.