"Filtering Multiple Attributes"

hgwelec
hgwelec New Altair Community Member
edited November 5 in Community Q&A
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

Answers

  • haddock
    haddock New Altair Community Member
    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!
  • hgwelec
    hgwelec New Altair Community Member
    Found it :


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

    (Age|Profession)
  • hgwelec
    hgwelec New Altair Community Member
    Thanks!!  :)