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
How can I select only the non-special attributes?
I know this is a very simple question but I'm not able to select only the non-special attributes of a ExampleSet in a simple way.
Obviusly I can select manually the special attributes and apply the correct filter but that's the problem: I need to know the roles of the attributes. If I'd like to do it with 8 different samples (tables) I'd have to look for the special attributes in each sample and apply the filter with the correct names of the special attributes. There must be an easier way.
Some help?
I Tried to use the "Select Attibutes" filter but it select all the attributes or only the special ones but not only the regulars.
Thanks in advance.
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<process version="5.1.004">
<context>
<input/>
<output/>
<macros/>
</context>
<operator activated="true" breakpoints="before" class="process" compatibility="5.1.004" expanded="true" name="Process">
<process expanded="true" height="524" width="435">
<operator activated="true" breakpoints="before,after" class="generate_data" compatibility="5.1.004" expanded="true" height="60" name="Generate Data" width="90" x="45" y="30"/>
<operator activated="true" breakpoints="after" class="generate_id" compatibility="5.1.004" expanded="true" height="76" name="Generate ID" width="90" x="179" y="30"/>
<operator activated="true" breakpoints="before" class="select_attributes" compatibility="5.1.004" expanded="true" height="76" name="Select Attributes" width="90" x="315" y="30"/>
<connect from_op="Generate Data" from_port="output" to_op="Generate ID" to_port="example set input"/>
<connect from_op="Generate ID" from_port="example set output" to_op="Select Attributes" to_port="example set input"/>
<connect from_op="Select Attributes" from_port="example set output" to_port="result 1"/>
<portSpacing port="source_input 1" spacing="0"/>
<portSpacing port="sink_result 1" spacing="0"/>
<portSpacing port="sink_result 2" spacing="0"/>
</process>
</operator>
</process>
Obviusly I can select manually the special attributes and apply the correct filter but that's the problem: I need to know the roles of the attributes. If I'd like to do it with 8 different samples (tables) I'd have to look for the special attributes in each sample and apply the filter with the correct names of the special attributes. There must be an easier way.
Some help?
I Tried to use the "Select Attibutes" filter but it select all the attributes or only the special ones but not only the regulars.
Thanks in advance.
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<process version="5.1.004">
<context>
<input/>
<output/>
<macros/>
</context>
<operator activated="true" breakpoints="before" class="process" compatibility="5.1.004" expanded="true" name="Process">
<process expanded="true" height="524" width="435">
<operator activated="true" breakpoints="before,after" class="generate_data" compatibility="5.1.004" expanded="true" height="60" name="Generate Data" width="90" x="45" y="30"/>
<operator activated="true" breakpoints="after" class="generate_id" compatibility="5.1.004" expanded="true" height="76" name="Generate ID" width="90" x="179" y="30"/>
<operator activated="true" breakpoints="before" class="select_attributes" compatibility="5.1.004" expanded="true" height="76" name="Select Attributes" width="90" x="315" y="30"/>
<connect from_op="Generate Data" from_port="output" to_op="Generate ID" to_port="example set input"/>
<connect from_op="Generate ID" from_port="example set output" to_op="Select Attributes" to_port="example set input"/>
<connect from_op="Select Attributes" from_port="example set output" to_port="result 1"/>
<portSpacing port="source_input 1" spacing="0"/>
<portSpacing port="sink_result 1" spacing="0"/>
<portSpacing port="sink_result 2" spacing="0"/>
</process>
</operator>
</process>
0
Answers
try "Work on Subset" operator. Best Regards
Vena
But the point is selecting all the regular attributes without choosing manually the special ones.
I don't see any manual selection in the Vena's example. But I noticed that the attribute selection within "Work on Subset" works in a different way as the "Select Attributes" operator does. In my opinion the filtering should work the same way, otherwise this uncommon behavior may be irritating. I would prefer the "Work on Subset" way since "Select Attributes" indeed doesn't allow selecting only the regular attributes.
Regards
Matthias
I misunderstood Vena's explanation. I thought that "Work on Subset" wasn't an operator, I thought "Work on Subset" was the "subset" option of the operator "Select Attributes".
Thank you all.