How to filter data on attribute values in RapidMiner

If you are using RapidMiner and want to filter you data based on certain values of a attribute or variable, this is the way to do it:

1. Select the “filter examples” operator.

Select the Filter Example operator

Selecting the Filter Examples operator

2. Put it between your data and the end result node.

Put the filter between your data and your end result

Putting the filter between your data and your end result

3. Choose the condition class “attribute_value_filter” and fill in the parameter string field like: <attribute_name>=<value> (i.e. Region=USA).

You can also stack values with “|” or “OR” statements likeĀ Region=USA|Europe

Select the attribute_value_filter and fill in the parameter string

Selecting the attribute_value_filter and filling in the parameter string

Finally, please note that it is case sensitive and that spaces are allowed.

That’s it! Hope this tutorial helped you to filter data in RapidMiner based on variable values.

One thought on “How to filter data on attribute values in RapidMiner

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>