🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

Average over attributes

User: "MuehliMan"
New Altair Community Member
Updated by Jocelyn
Hi again,

I have another problem and hope for some help:
My table has values from difference sources. All attributes have the name [value]_[reference]. I would like to average over all attributes belonging to the same [value]. Is this possible using the "Loop over Attributes" Operator or any other way? The References are names (strings) by the way.

Thanks in advance.

Best regards,
Markus

Find more posts tagged with

Sort by:
1 - 2 of 21
    User: "haddock"
    New Altair Community Member
    Like this ?
    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
    <process version="5.0">
      <context>
        <input/>
        <output/>
        <macros/>
      </context>
      <operator activated="true" class="process" expanded="true" name="Process">
        <process expanded="true" height="353" width="790">
          <operator activated="true" class="generate_data" expanded="true" height="60" name="Generate Data" width="90" x="45" y="30"/>
          <operator activated="true" class="generate_aggregation" expanded="true" height="76" name="Generate Aggregation" width="90" x="315" y="30">
            <parameter key="attribute_name" value="plob"/>
            <parameter key="attribute_filter_type" value="regular_expression"/>
            <parameter key="regular_expression" value="att[1-2]"/>
            <parameter key="aggregation_function" value="average"/>
          </operator>
          <connect from_op="Generate Data" from_port="output" to_op="Generate Aggregation" to_port="example set input"/>
          <connect from_op="Generate Aggregation" 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>
    User: "MuehliMan"
    New Altair Community Member
    OP
    Thanks, this worked (as usual). =)