Dear all,
Basically I already found a workaround to my question which I would like to share with all of you as someone may have the same requirement... I was looking for a way to order attributes by weight. However, if you are aware of an easier way I would be happy to learn...
Best
Sachs
<?xml version="1.0" encoding="UTF-8"?><process version="7.5.001">
<context>
<input/>
<output/>
<macros/>
</context>
<operator activated="true" class="process" compatibility="7.5.001" expanded="true" name="Process">
<process expanded="true">
<operator activated="true" class="generate_data" compatibility="7.5.001" expanded="true" height="68" name="Generate Data" width="90" x="45" y="34"/>
<operator activated="true" class="weight_by_correlation" compatibility="7.5.001" expanded="true" height="82" name="Weight by Correlation" width="90" x="179" y="34"/>
<operator activated="true" class="weights_to_data" compatibility="7.5.001" expanded="true" height="68" name="Weights to Data" width="90" x="313" y="136"/>
<operator activated="true" class="execute_script" compatibility="7.5.001" expanded="true" height="82" name="Execute Script" width="90" x="447" y="136">
<parameter key="script" value="import com.rapidminer.tools.Ontology; ExampleSet inputTable = input[ 0 ]; Attribute att = inputTable.getAttributes().get( "Attribute" ); Attribute[] listOfAtts = new Attribute[ inputTable.size() ]; int i = 0; for ( Example exa : inputTable ) { 	String att_name = inputTable.getExample(i).getValueAsString(att);	 	listOfAtts[ i ] = AttributeFactory.createAttribute( att_name , Ontology.NUMERICAL ); 	i++; 	operator.logNote(att_name); } MemoryExampleTable table = new MemoryExampleTable(listOfAtts); ExampleSet outputTable = table.createExampleSet(); return outputTable;"/>
</operator>
<operator activated="true" class="order_attributes" compatibility="7.5.001" expanded="true" height="82" name="Reorder Attributes" width="90" x="581" y="34">
<parameter key="sort_mode" value="reference data"/>
</operator>
<connect from_op="Generate Data" from_port="output" to_op="Weight by Correlation" to_port="example set"/>
<connect from_op="Weight by Correlation" from_port="weights" to_op="Weights to Data" to_port="attribute weights"/>
<connect from_op="Weight by Correlation" from_port="example set" to_op="Reorder Attributes" to_port="example set input"/>
<connect from_op="Weights to Data" from_port="example set" to_op="Execute Script" to_port="input 1"/>
<connect from_op="Execute Script" from_port="output 1" to_op="Reorder Attributes" to_port="reference_data"/>
<connect from_op="Reorder 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>