The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here

featurenamefilter

m_r_nourm_r_nour Member Posts: 35 Maven
edited November 2018 in Help
Hi

to filter features with  specific names , we can use featurenamefilter but how?
for instance I want to filter all feature except the following features:

Volume, Surface, information*var   (-> here * is as a wildcard)


thanks
REZA

Answers

  • m_r_nourm_r_nour Member Posts: 35 Maven
    hi  again:
    my features names which I want to save them are:
    CV.INFO_CORR2
    VOLUME
    CV.ENTROPY
    CV.INTENSITY.1

    and I used  following parameters:
    <parameter key="skip_features_with_name" value=".*"/>
    <parameter key="except_features_with_name" value="CV.INFO_CORR2 || VOLUME|| CV.ENTROPY||CV.INTENSITY.1"/>

    first line works , but 2nd line nooooooooooooooooooooo >:(
           
    also  I checked following wildcards
    |.  and |


    but again noooooooo



  • m_r_nourm_r_nour Member Posts: 35 Maven
    R**Q

    I did it also | but doesn't work
  • haddockhaddock Member Posts: 849 Maven
    <operator name="Root" class="Process" expanded="yes">
        <operator name="ExampleSetGenerator" class="ExampleSetGenerator">
            <parameter key="target_function" value="random"/>
            <parameter key="number_of_attributes" value="10"/>
        </operator>
        <operator name="ChangeAttributeName" class="ChangeAttributeName">
            <parameter key="old_name" value="att1"/>
            <parameter key="new_name" value="CV.INFO_CORR2"/>
        </operator>
        <operator name="ChangeAttributeName (2)" class="ChangeAttributeName">
            <parameter key="old_name" value="att2"/>
            <parameter key="new_name" value="VOLUME"/>
        </operator>
        <operator name="ChangeAttributeName (3)" class="ChangeAttributeName">
            <parameter key="old_name" value="att3"/>
            <parameter key="new_name" value="CV.ENTROPY"/>
        </operator>
        <operator name="ChangeAttributeName (4)" class="ChangeAttributeName">
            <parameter key="old_name" value="att4"/>
            <parameter key="new_name" value="CV.INTENSITY.1"/>
        </operator>
        <operator name="FeatureNameFilter" class="FeatureNameFilter">
            <parameter key="skip_features_with_name" value=".*"/>
            <parameter key="except_features_with_name" value="CV.INFO_CORR2|VOLUME|CV.ENTROPY|CV.INTENSITY.1"/>
        </operator>
    </operator>
  • m_r_nourm_r_nour Member Posts: 35 Maven
    thanks

    I got my fault I used " | " not "|"

    again thanks
Sign In or Register to comment.