Options

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

  • Options
    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
  • Options
    TillTill Member Posts: 6 Contributor II
    Thanks Sebastian!
Sign In or Register to comment.