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

How to create a filter contains AND/OR clauses

FouadKayaliFouadKayali Member Posts: 3 Learner I
I want to remove outliers based on the market segements, different market segment has different ranges of prices, so I want to filter based on both attributes for example 
(Market segment = online and price > 500) or (Market segment = offline and price > 1000)
Tagged:

Answers

  • hmhsinghmhsing Member Posts: 31 Maven
    You may try the attached process using Titanic data from RapidMiner Samples.
  • hmhsinghmhsing Member Posts: 31 Maven
    An easier way is to select expression in Filter Example condition class and write   

    Price>500&&contains(Market segment,"online")||Price>1000&&contains(Market segment,"offline") 

    in parameter expression.  I hope this will work!
Sign In or Register to comment.