RapidMiner

RapidMiner

Filtering Multiple Attributes

Regular Contributor

Filtering Multiple Attributes

Hello,


Suppose we have a dataset with the following attributes

Age
Profession
Income
NumberOfChildren
...
...
...
class


How can i remove from analysis , attributes "Age" and "Profession" without using multiple operators (ie two AttributeFilter operators). If it can be done could someone give me an example?




Many Thanks


Harry
3 REPLIES
Regular Contributor

Re: Filtering Multiple Attributes

Bonjour!

Try using the operator "FeatureNameFilter" and use  "Age|Profession" as the value for the parameter "skip_features_with_name"

Actually there is probably a much more cryptic regex that will also do the job, but I'm too lazy to work it out....

Allez!
Regular Contributor

Re: Filtering Multiple Attributes

Found it :


Use a FeatureNameFilter operator and write the following on the'skip_features_with_name' field :

(Age|Profession)
Regular Contributor

Re: Filtering Multiple Attributes

Thanks!!  Smiley Happy