image

🎉 🎉 RAPIDMINER 9.10 IS OUT!!! 🎉🎉

Download the latest version helping analytics teams accelerate time-to-value for streaming and IIOT use cases.

CLICK HERE TO DOWNLOAD

featurenamefilter

m_r_nourm_r_nour Member Posts: 35  Guru
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  Guru
    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  Guru
    R**Q

    I did it also | but doesn't work
  • haddockhaddock Member Posts: 849  Guru
    <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  Guru
    thanks

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

    again thanks
Sign In or Register to comment.