ExampleFilter
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!
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!
0
Answers
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