Pages: [1]
  Print  
Author Topic: Filtering Multiple Attributes  (Read 1766 times)
hgwelec
Newbie
*
Posts: 37


« on: October 01, 2008, 02:32:23 PM »

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
Logged
haddock
Hero Member
*****
Posts: 853



WWW
« Reply #1 on: October 01, 2008, 03:44:58 PM »

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!
Logged

Where is the wisdom we have lost in knowledge?
Where is the knowledge we have lost in information?

T.S.Eliot ~ Choruses from the Rock 1934
hgwelec
Newbie
*
Posts: 37


« Reply #2 on: October 01, 2008, 03:46:25 PM »

Found it :


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

(Age|Profession)
Logged
hgwelec
Newbie
*
Posts: 37


« Reply #3 on: October 01, 2008, 03:47:30 PM »

Thanks!!  Smiley
Logged
Pages: [1]
  Print  
 
Jump to: