featurenamefilter
m_r_nour
New Altair Community Member
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
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
Tagged:
0
Answers
-
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
0 -
R**Q
I did it also | but doesn't work0 -
<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>0 -
thanks
I got my fault I used " | " not "|"
again thanks
0