The Siemens Community Catalyst program was co-created with our community to acknowledge technology leaders who consistently contribute to the Siemens Community. Nominations are accepted on a rolling basis.
Shubha wrote:Hi,This is a newbie's question...I have a data which looks like the below:Group Value1 781 641 752 662 542 722 773 573 593 61Now, i want to do a calculation by groups. And this calculation is ABS("Value" - Group Average). The output datafile should look like the below:Group Value Result1 78 5.6666666671 64 8.3333333331 75 2.6666666672 66 1.252 54 13.252 72 4.752 77 9.753 57 23 59 03 61 2This is exactly group processing. How do we do this in Rapid Miner?Many thanks for your help,Shubha
<operator name="Root" class="Process" expanded="yes"> <operator name="Generate Data" class="OperatorChain" expanded="no"> <operator name="ExampleSetGenerator" class="ExampleSetGenerator"> <parameter key="target_function" value="sum"/> <parameter key="number_examples" value="12"/> <parameter key="number_of_attributes" value="2"/> </operator> <operator name="AttributeFilter" class="AttributeFilter"> <parameter key="condition_class" value="attribute_name_filter"/> <parameter key="parameter_string" value="label"/> <parameter key="invert_filter" value="true"/> <parameter key="apply_on_special" value="true"/> </operator> <operator name="AttributeSubsetPreprocessing" class="AttributeSubsetPreprocessing" expanded="yes"> <parameter key="condition_class" value="attribute_name_filter"/> <parameter key="attribute_name_regex" value="att1"/> <operator name="FrequencyDiscretization" class="FrequencyDiscretization"> <parameter key="number_of_bins" value="3"/> <parameter key="range_name_type" value="short"/> </operator> </operator> <operator name="Sorting" class="Sorting"> <parameter key="attribute_name" value="att1"/> </operator> </operator> <operator name="ValueIterator" class="ValueIterator" expanded="yes"> <parameter key="attribute" value="att1"/> <operator name="ExampleFilter" class="ExampleFilter"> <parameter key="condition_class" value="attribute_value_filter"/> <parameter key="parameter_string" value="att1 = %{loop_value}"/> </operator> <operator name="Aggregation" class="Aggregation"> <list key="aggregation_attributes"> <parameter key="att2" value="average"/> </list> </operator> <operator name="DataMacroDefinition" class="DataMacroDefinition"> <parameter key="macro" value="current_average"/> <parameter key="macro_type" value="data_value"/> <parameter key="attribute_name" value="average(att2)"/> <parameter key="example_index" value="1"/> </operator> <operator name="IOConsumer" class="IOConsumer"> <parameter key="io_object" value="ExampleSet"/> <parameter key="deletion_type" value="delete_one"/> </operator> <operator name="AttributeConstruction" class="AttributeConstruction"> <list key="function_descriptions"> <parameter key="att2_abs_avg" value="abs(att2 - %{current_average})"/> </list> </operator> </operator> <operator name="ExampleSetMerge" class="ExampleSetMerge"> </operator></operator>
Join us for a Community Conversation where we'll discuss practical approaches to analyzing complex electromagnetic models using hybrid solver techniques. This session will provide a general overview of how different computational methods can be combined within a single simulation to address models containing varied…
Join us for a community conversation to explore how different modeling approaches in Simcenter PSIM can help engineers simulate power electronics systems while balancing accuracy, simulation speed, and design insight. What you'll learn: Power transistor modeling : Thermal and high fidelity models Protection component…