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

ExampleFilter

TillTill Member Posts: 6 Contributor II
edited November 2018 in Help
Hi there,
I want to link several conditions concerning two different attributes in the exampleFilter.
Example:
filter out the examples where A > 5 AND B = 'string1' OR B = 'string2'

The problem is that I can't use the exampleFilter successively, because in the case B = 'string2' A is zero.

Does anybody have an idea about how to handle this?

Thanks!

Answers

  • landland RapidMiner Certified Analyst, RapidMiner Certified Expert, Member Posts: 2,531 Unicorn
    HI,
    you could realise the or connection by using an IOMultiplier to duplicate your exampleSet. Then filter successivly the and conditions and switch with IOSelector to the second exampleSet. Filter there B = String2 and then merge both exampleSet with ExampleSetMerge.

    Wasn't that easy?  :)

    Greetings,
      Sebastian
  • TillTill Member Posts: 6 Contributor II
    Thanks Sebastian!
Sign In or Register to comment.