Dear community,
in the following process I generate a dataset including a label attribute. But when feeding the dataset into the "work on subset" operator the role of the label attribute seems to be set temporarily to "regular" (see result at breakpoint).
I believe this is why the weighting operator doesn't provide any results in the end. However, after the whole process finished, the label attribute has its former role again. Is there any setting that could be wrong in my process?
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<process version="5.2.008">
<context>
<input/>
<output/>
<macros/>
</context>
<operator activated="true" class="process" compatibility="5.2.008" expanded="true" name="Process">
<process expanded="true" height="424" width="743">
<operator activated="true" class="generate_data" compatibility="5.2.008" expanded="true" height="60" name="Generate Data" width="90" x="45" y="30">
<parameter key="number_examples" value="10"/>
<parameter key="number_of_attributes" value="3"/>
<parameter key="attributes_lower_bound" value="0.0"/>
</operator>
<operator activated="true" class="work_on_subset" compatibility="5.2.008" expanded="true" height="94" name="Work on Subset" width="90" x="179" y="30">
<parameter key="attributes" value="|att1|att2|label"/>
<parameter key="include_special_attributes" value="true"/>
<process expanded="true" height="424" width="743">
<operator activated="true" breakpoints="after" class="weight_by_correlation" compatibility="5.2.008" expanded="true" height="76" name="Weight by Correlation (2)" width="90" x="45" y="30">
<parameter key="normalize_weights" value="false"/>
<parameter key="sort_direction" value="descending"/>
</operator>
<connect from_port="exampleSet" to_op="Weight by Correlation (2)" to_port="example set"/>
<connect from_op="Weight by Correlation (2)" from_port="weights" to_port="through 1"/>
<connect from_op="Weight by Correlation (2)" from_port="example set" to_port="example set"/>
<portSpacing port="source_exampleSet" spacing="0"/>
<portSpacing port="sink_example set" spacing="0"/>
<portSpacing port="sink_through 1" spacing="0"/>
<portSpacing port="sink_through 2" spacing="0"/>
</process>
</operator>
<connect from_op="Generate Data" from_port="output" to_op="Work on Subset" to_port="example set"/>
<connect from_op="Work on Subset" from_port="example set" to_port="result 1"/>
<connect from_op="Work on Subset" from_port="through 1" to_port="result 2"/>
<portSpacing port="source_input 1" spacing="0"/>
<portSpacing port="sink_result 1" spacing="0"/>
<portSpacing port="sink_result 2" spacing="0"/>
<portSpacing port="sink_result 3" spacing="0"/>
</process>
</operator>
</process>
Kind regards
Sachs